Skip to content

Commit

Permalink
Merge pull request #709 from yarikoptic/enh-no-dicom-template
Browse files Browse the repository at this point in the history
Convert assertion into a warning that we would not use dicom dir tempate option
  • Loading branch information
yarikoptic authored Sep 28, 2023
2 parents aa4c785 + 330ed76 commit c275b93
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion heudiconv/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,12 @@ def workflow(
)

if command:
assert dicom_dir_template is None
if dicom_dir_template:
lgr.warning(
f"DICOM directory template {dicom_dir_template!r} was provided but will be ignored since "
f"commands do not care about it ATM"
)

process_extra_commands(
outdir,
command,
Expand Down

0 comments on commit c275b93

Please sign in to comment.