Skip to content

Commit

Permalink
Handle --resume error with no multi-TE data (#296)
Browse files Browse the repository at this point in the history
* Handle possible floating point b-values

fixes #292

* Handle --resume error for non-multi-TE data

fixes #293
  • Loading branch information
j-tseng authored Jan 13, 2023
1 parent b856831 commit a19c3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designer/pydesigner.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def main():
resume=args.resume)
working_path = op.join(outpath, 'working' + fType)
# Create index of DWI volumes with different TEs
if np.unique(image.echotime).size > 1:
if not args.resume and np.unique(image.echotime).size > 1:
multi_echo = True
multi_echo_start = [0]
multi_echo_end = [image.vols[0] - 1]
Expand Down

0 comments on commit a19c3df

Please sign in to comment.