Closed shippy closed 3 years ago
Additionally, Kilian requested that upload_visual_qc.csv
should check that no other flag has been set on the file before it uploads the review flag, which is tantamount to gating this section of upload_visual_qc.py
with a scan.get('quality') == "unknown"
.
I'm not sure that the gating shouldn't be positive (i.e. only don't upload if the scan is already marked unusable
), so I'll double-check with @kipohl once available.
I've done the latter, which should be correct based on my notes, and filed a PR.
I think I see what's happening:
args.qc_csv
is non-empty, (b) there is at least one new questionable scan, (c) the file exists (...which is not the problem), (d) file is non-empty.To resolve: