gwcelery/tasks/condor.py: fix a bug in submit tasks
This MR fixes bug that condor.submit
and condor.submit_rapidpe
do not pass log
to condor.base_submit
properly. The consequence is that base_submit
assumes job has not been submitted yet whenever it is retried, and it submits bunch of PE jobs for a single event. It also breaks the mechanism that gwcelery automatically removes PE jobs which run for a long time.
For example in playground,
(base) [soichiro.morisaki@emfollow-playground ~]$ condor_q -nobatch emfollow-playground | grep S231025or | wc -l
186
cc: @vinaya.valsan @daniel.wysocki @brandon.piotrzkowski @cody.messick