Skip to content

Commit

Permalink
Start offline dq workflow rework
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtrevor committed Dec 13, 2023
1 parent f3f6ffe commit 720be91
Show file tree
Hide file tree
Showing 3 changed files with 327 additions and 253 deletions.
20 changes: 8 additions & 12 deletions bin/workflows/pycbc_make_offline_search_workflow
Original file line number Diff line number Diff line change
Expand Up @@ -191,18 +191,14 @@ insps = wf.merge_single_detector_hdf_files(workflow, hdfbank,
# 'statfiles' is list of files used in calculating statistic
# 'dqfiles' is the subset of files containing data quality information
statfiles = []
dqfiles = []
dqfile_labels = []
dq_labels = workflow.cp.get_subsections('workflow-data_quality')
for dq_label in dq_labels:
dq_label_files = wf.setup_dq_reranking(workflow, dq_label, insps, hdfbank,
analyzable_segs, analyzable_file,
dq_segment_file,
output_dir='dq',
tags=['full_data'])
statfiles += dq_label_files
dqfiles += dq_label_files
dqfile_labels += len(dq_label_files) * [dq_label]

dqfiles, dqfile_labels = wf.setup_dq_reranking(workflow, insps,
hdfbank, analyzable_segs,
analyzable_file,
dq_segment_file,
output_dir='dq',
tags=['full_data'])
statfiles += dqfiles

statfiles += wf.setup_trigger_fitting(workflow, insps, hdfbank,
final_veto_file, final_veto_name,
Expand Down
Loading

0 comments on commit 720be91

Please sign in to comment.