From 662542f58b76ab198260d25eadacef4d5aaea409 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Sat, 4 May 2024 17:19:42 -0400 Subject: [PATCH] Aspirational doctest. --- sdcflows/utils/wrangler.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sdcflows/utils/wrangler.py b/sdcflows/utils/wrangler.py index 0c45ea35c2..1c7891292d 100644 --- a/sdcflows/utils/wrangler.py +++ b/sdcflows/utils/wrangler.py @@ -294,6 +294,15 @@ def find_estimators( FieldmapEstimation(sources=<2 files>, method=, bids_id='auto_...')] + It should find MEDIC-style files too: + + >>> find_estimators( + ... layout=layouts['dsD'], + ... subject="01", + ... ) # doctest: +ELLIPSIS + [FieldmapEstimation(sources=<10 files>, method=, + bids_id='medic')] + """ from .misc import create_logger from bids.layout import Query