Skip to content

Commit ea2aea7

Browse files
committed
Drop circularity fix to test CI.
1 parent 54da90b commit ea2aea7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

heudiconv/main.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,13 @@ def workflow(*, dicom_dir_template=None, files=None, subjs=None,
283283

284284
# processed_studydirs = set()
285285

286-
for (locator_ext, session_ext, sid), files_or_seqinfo in study_sessions.items():
286+
for (locator, session, sid), files_or_seqinfo in study_sessions.items():
287287

288-
# Only use extracted session/locator if not provided explicitly
289-
if session is None:
290-
session = session_ext
291-
if locator is None:
292-
locator = locator_ext
288+
# Allow for session to be overloaded from command line
289+
if session is not None:
290+
session = session
291+
if locator is not None:
292+
locator = locator
293293
if not len(files_or_seqinfo):
294294
raise ValueError("nothing to process?")
295295
# that is how life is ATM :-/ since we don't do sorting if subj

0 commit comments

Comments
 (0)