We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4e4896 + a7d4af1 commit 7093ed4Copy full SHA for 7093ed4
heudiconv/parser.py
@@ -278,15 +278,9 @@ def infotoids(
278
)
279
lgr.info("Study session for %r", study_session_info)
280
281
- if study_session_info in study_sessions:
282
- if grouping != "all":
283
- # MG - should this blow up to mimic -d invocation?
284
- lgr.warning(
285
- "Existing study session with the same values (%r)."
286
- " Skipping DICOMS %s",
287
- study_session_info,
288
- seqinfo.values(),
289
- )
290
- continue
+ if grouping != "all":
+ assert (study_session_info not in study_sessions), (
+ f"Existing study session {study_session_info} "
+ f"already in analyzed sessions {study_sessions.keys()}")
291
study_sessions[study_session_info] = seqinfo
292
return study_sessions
0 commit comments