Skip to content

Commit

Permalink
Change elif to else.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Jan 26, 2021
1 parent d763b55 commit c8a09d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tedana/workflows/tedana.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def tedana_workflow(data, tes, out_dir='.', mask=None,
elif (n_bold_comps == 0):
LGR.warning("No BOLD components found, but maximum number of restarts reached.")
keep_restarting = False
elif (n_restarts >= maxrestart) or (n_bold_comps != 0):
else:
keep_restarting = False

# Write out ICA files.
Expand Down

0 comments on commit c8a09d5

Please sign in to comment.