Skip to content

Commit a2a6877

Browse files
committed
autonaming of fmapless require tests to flush the fmap registry
1 parent 503c745 commit a2a6877

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sdcflows/utils/wrangler.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def find_estimators(
231231
232232
Likewise in a more comprehensive dataset:
233233
234+
>>> fm.clear_registry()
234235
>>> find_estimators(
235236
... layout=layouts['ds001771'],
236237
... subject="36",
@@ -259,6 +260,7 @@ def find_estimators(
259260
heuristics come back empty (BOLD and DWI files are missing
260261
the mandatory ``PhaseEncodingDirection``, in this case):
261262
263+
>>> fm.clear_registry()
262264
>>> find_estimators(
263265
... layout=layouts['dsA'],
264266
... subject="01",
@@ -277,6 +279,7 @@ def find_estimators(
277279
278280
This function should also correctly investigate multi-session datasets:
279281
282+
>>> fm.clear_registry()
280283
>>> find_estimators(
281284
... layout=layouts['ds000206'],
282285
... subject="05",
@@ -309,6 +312,7 @@ def find_estimators(
309312
The only exception to the priority of ``B0FieldIdentifier`` is when fieldmaps
310313
are searched with the ``force_fmapless`` argument on:
311314
315+
>>> fm.clear_registry()
312316
>>> fm.clear_registry() # Necessary as `pepolar4pe` is not changing.
313317
>>> find_estimators(
314318
... layout=layouts['dsC'],

0 commit comments

Comments
 (0)