MRICloudReadMPR =============== **Purpose.** Discover the subject’s MRICloud **MPR** folder/name under ``derivatives//anat`` so later MRICloud steps can locate skull-stripped targets, ROI lookups, and stats. Behavior -------- - Scans ``derivatives//anat/`` for a directory that contains ``mni.imgsize`` and an ``*.imgsize`` file other than ``mni.imgsize``. - Saves two keys into ``data_descrip["Images"][]``: - ``mpr_folder`` — the detected folder name - ``mpr_name`` — the base name of the native-space MPR (from ``*.imgsize``) Inputs ------ - ``data_descrip["Images"][]["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 ------------ .. code-block:: yaml modules: - name: MRICloudReadMPR