Skip to content

Commit

Permalink
Fix up issues found with new write checks and verbose output.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtclarke committed Oct 2, 2022
1 parent 23877cc commit f35db16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion spec2nii/philips_dcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ def all_equal(lst):
# Combine files into single MRS NIfTI
# Single file name
fnames_out.append(mainStr)
fnames_out.append(mainStr + '_ref')
if ref_list[0] is not None:
fnames_out.append(mainStr + '_ref')

dt_used = dwelltime_list[0]
or_used = orientation_list[0]
Expand Down
3 changes: 2 additions & 1 deletion spec2nii/spec2nii.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ def add_common_parameters(subparser):
json=False,
override_nucleus=None,
override_frequency=None,
override_dwelltime=None)
override_dwelltime=None,
verbose=False)

if len(sys.argv) == 1:
parser.print_usage(sys.stderr)
Expand Down

0 comments on commit f35db16

Please sign in to comment.