SELECT COUNT(*) FROM files f JOIN mri_scan_type mst ON (f.AcquisitionProtocolID=mst.ID) WHERE Scan_type='t1' AND SessionID=:session_id;
SELECT COUNT(*) FROM files f JOIN mri_scan_type mst ON (f.AcquisitionProtocolID=mst.ID) WHERE Scan_type='t1-defaced' AND SessionID=:session_id;
Test plan
[x] Determine which modalities to deface (Usually, all anatomical scans T1W, FLAIR, T2W, T2 star, MP2RAGE, fieldmap magnitude…)
[x] Set up the following settings in the Config module under the “Imaging Pipeline” section:
“Scan type to use as a reference for defacing...”: select the T1W scan type
“Modalities on which to run the defacing pipeline”: select the modalities to deface
[x] Run defacing pipeline:
[x] Check sessionID was defaced:
Bugs found