Skip to content

Commit fc5f5b2

Browse files
committed
fix: remove unused var, correctly return outfiles
1 parent 59d71c7 commit fc5f5b2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

heudiconv/cli/run.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def _pdb_excepthook(type, value, tb):
3838
else:
3939
lgr.warn(
4040
"We cannot setup exception hook since not in interactive mode")
41-
_sys_excepthook(type, value, tb)
4241

4342
sys.excepthook = _pdb_excepthook
4443

heudiconv/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,4 +393,4 @@ def save_converted_files(res, item_dicoms, bids, outtype, prefix, outname_bids):
393393
bids_outfiles.append(outname_bids)
394394
except TypeError as exc: ##catch lists
395395
raise TypeError("Multiple BIDS sidecars detected.")
396-
return bids_outfiles
396+
return bids_outfiles

0 commit comments

Comments
 (0)