Skip to content
Snippets Groups Projects
Commit 25419d27 authored by Cody Messick's avatar Cody Messick
Browse files

Add PE_READY label after bilby runs instead of lalinference runs

parent 29387a26
No related branches found
No related tags found
1 merge request!870Add PE_READY label after bilby runs
......@@ -617,7 +617,7 @@ def dag_finished(rundir, preferred_event_id, superevent_id, pe_pipeline):
clean_up.si(rundir)
).delay()
if pe_pipeline == 'lalinference':
if pe_pipeline == 'bilby':
gracedb.create_label.delay('PE_READY', superevent_id)
......
......@@ -378,7 +378,7 @@ def test_dag_finished(monkeypatch, tmp_path, pipeline):
inference.dag_finished(rundir, gid, 'S1234', pipeline)
assert upload.call_count == len(paths)
_upload_url.assert_called_once()
if pipeline == 'lalinference':
if pipeline == 'bilby':
create_label.assert_called_once()
else:
create_label.assert_not_called()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment