MRICloudReadMPR

Purpose. Discover the subject’s MRICloud MPR folder/name under derivatives/<sub>/anat so later MRICloud steps can locate skull-stripped targets, ROI lookups, and stats.

Behavior

  • Scans derivatives/<sub>/anat/<folder> for a directory that contains mni.imgsize and an *.imgsize file other than mni.imgsize.

  • Saves two keys into data_descrip["Images"][<sub>]: - mpr_folder — the detected folder name - mpr_name — the base name of the native-space MPR (from *.imgsize)

Inputs

  • data_descrip["Images"][<sub>]["anat"] must exist.

  • Files are expected under the derivatives mirror.

Outputs

  • Returns the modified data_descrip with mpr_folder and mpr_name.

Configuration

  • None.

YAML example

modules:
  - name: MRICloudReadMPR