Skip to content

Commit fa08f22

Browse files
committed
revt: heuristic still required
1 parent 0827c5a commit fa08f22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

heudiconv/cli/run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ def process_args(args):
201201
#
202202
# Load heuristic -- better do it asap to make sure it loads correctly
203203
#
204-
heuristic = (load_heuristic(op.realpath(args.heuristic_file))
205-
if args.heuristic_file else gen_heuristic)
204+
heuristic = load_heuristic(op.realpath(args.heuristic_file))
206205

207206
study_sessions = get_study_sessions(args.dicom_dir_template, args.files,
208207
heuristic, outdir, args.session,

0 commit comments

Comments
 (0)