condor_submit_dag fails when coherence-test=True and only one detector is used
When coherence-test=True
and only one detector is used, the jobs in bash_*sh
and the main dag_*.submit
are duplicated. See /home/aditya.vijaykumar/work/rough/ecc/outdir_bbh_injection/submit
on CIT.
This causes the condor_submit_dag
to fail with the error:
ERROR: outdir_bbh_injection/submit/dag_bbh_injection.submit (line 9): node name 'bbh_injection_data0_0_analysis_H1_dynesty_par0_arg_0' already exists in DAG
coherence-test=True
of course does not make sense if there is just a single detector being used; nevertheless, it would be nice to have a check for such cases.
The error comes from this line, where the if
should ideally look like:
if inputs.coherence_test and len(inputs.detectors) > 1:
Can start an MR if maintainers think this should be fixed.