sibis-platform / ncanda-data-integration

This is the Data Integration, MRI, and Bioinformatics Component of the National Consortium on Alcohol and NeuroDevelopment in Adolescence (NCANDA), funded by the NIAAA.
https://www.nitrc.org/projects/ncanda-datacore
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

check_new_sessions isn't archiving scans_to_review.csv under some conditions #396

Closed shippy closed 3 years ago

shippy commented 3 years ago

I think I see what's happening:

To resolve:

shippy commented 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.

shippy commented 3 years ago

I've done the latter, which should be correct based on my notes, and filed a PR.