realfastvla / realfast

Real-time interferometric data analysis for the VLA
http://realfast.io
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

two scans can collide during queue_monitor cleanup #47

Closed caseyjlaw closed 7 years ago

caseyjlaw commented 7 years ago

queue_monitor can accidentally parse the wrong mergepkl if two scans finish at the same time. In one case, the two scans were from different SBs, so the scans to archive were not correctly identified. Offending code is:

for jobid in jobids:
...
if job == finishedjobs[-1]:
caseyjlaw commented 7 years ago

Removed the if statement, so it will compile summary plot for each new scan. May be slow, but safest for now.