Skip to content

Commit

Permalink
Aspirational doctest.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed May 4, 2024
1 parent e3a5f99 commit 662542f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sdcflows/utils/wrangler.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,15 @@ def find_estimators(
FieldmapEstimation(sources=<2 files>, method=<EstimatorType.ANAT: 5>,
bids_id='auto_...')]
It should find MEDIC-style files too:
>>> find_estimators(
... layout=layouts['dsD'],
... subject="01",
... ) # doctest: +ELLIPSIS
[FieldmapEstimation(sources=<10 files>, method=<EstimatorType.MEDIC: 10>,
bids_id='medic')]
"""
from .misc import create_logger
from bids.layout import Query
Expand Down

0 comments on commit 662542f

Please sign in to comment.