Skip to content

Commit

Permalink
adapt graphics function wrt --deface_t2w argument
Browse files Browse the repository at this point in the history
  • Loading branch information
PeerHerholz committed Apr 13, 2021
1 parent eb1f0c3 commit 08a233d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bidsonym/run_deeid.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ def run_deeid():

rename_non_deid(args.bids_dir, subject_label)

if sessions_to_analyze is None and args.deface_t2w is None:
if sessions_to_analyze is None and args.deface_t2w is False:
create_graphics(args.bids_dir, subject_label, session=None, t2w=None)
elif sessions_to_analyze and args.deface_t2w is None:
elif sessions_to_analyze and args.deface_t2w is False:
for session in sessions_to_analyze:
create_graphics(args.bids_dir, subject_label, session=session, t2w=None)
elif sessions_to_analyze is None and args.deface_t2w:
Expand Down

0 comments on commit 08a233d

Please sign in to comment.