diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index ad41ff6672..1119e2aa12 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -187,7 +187,7 @@ jobs: # ds005250 datalad install -r https://github.com/nipreps-data/ds005250.git datalad update -r --merge -d ds005250/ - datalad get -r -J 2 -d ds005250/ ds005250/sub-04/ses-2/ + datalad get -r -J 2 -d ds005250/ ds005250/ - name: Set FreeSurfer variables run: | diff --git a/sdcflows/utils/wrangler.py b/sdcflows/utils/wrangler.py index 58097c86df..b6051f1083 100644 --- a/sdcflows/utils/wrangler.py +++ b/sdcflows/utils/wrangler.py @@ -321,14 +321,30 @@ def find_estimators( FieldmapEstimation(sources=<2 files>, method=, bids_id='auto_...')] - MEDIC fieldmaps are also supported: + MEDIC fieldmaps are also supported, both with B0FieldIdentifier metadata: >>> find_estimators( ... layout=layouts['ds005250'], ... subject='04', + ... sessions=['1'], + ... fmapless=False, + ... force_fmapless=False, + ... ) # doctest: +ELLIPSIS + [FieldmapEstimation(sources=<2 files>, method=, + bids_id='sub_04_ses_1_DCAN_fmap_acq_MESE'), + FieldmapEstimation(sources=<2 files>, method=, + bids_id='sub_04_ses_1_DCAN_fmap_acq_MEGE'), + FieldmapEstimation(sources=<10 files>, method=, + bids_id='sub_04_ses_1_acq_MBME_medic')] + + and with IntendedFor metadata: + + >>> find_estimators( + ... layout=layouts['ds005250'], + ... subject='04', + ... sessions=['2'], ... fmapless=False, ... force_fmapless=False, - ... bids_filters={'session': '2'}, ... ) # doctest: +ELLIPSIS [FieldmapEstimation(sources=<2 files>, method=, bids_id='auto_...'),