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_phantom_scans finds no phantom scans, but doesn't throw error #440

Open gcyoung1 opened 2 years ago

gcyoung1 commented 2 years ago

Example of script running and finding phantom scans (note that they're within 24 hours): python /sibis-software/ncanda-data-integration/scripts/xnat/check_phantom_scans -v -e NCANDA_E11130 Connecting to XNAT... Last checked on: 2022-01-25 19:21:12 Phantom scans: xnat:mrsessiondata/subject_id,date,xnat:mrsessiondata/id,project,ID,URI NCANDA_S00027,2021-12-04,NCANDA_E11183,duke_incoming,NCANDA_E11183,/data/experiments/NCANDA_E11183

Example of script running and not finding phantom scans, but not throwing an error: python /sibis-software/ncanda-data-integration/scripts/xnat/check_phantom_scans -v -e NCANDA_E11162 Connecting to XNAT... Last checked on: 2022-01-26 10:16:23 Phantom scans:

In the second case, there are phantom scans on 12-03 and 12-09 (ie not within 24 hours of 12-07).