Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
wasserth committed Nov 23, 2023
1 parent dd1d716 commit d691b85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions totalsegmentator/python_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ def totalsegmentator(input, output, ml=False, nr_thr_resamp=1, nr_thr_saving=6,
if roi_subset_robust is not None:
roi_subset = roi_subset_robust
robust_rs = True
else:
robust_rs = False

if roi_subset is not None and type(roi_subset) is not list:
raise ValueError("roi_subset must be a list of strings")
Expand Down

0 comments on commit d691b85

Please sign in to comment.