From 08a233db148c2260cad82b4a78b8acf9f930b3aa Mon Sep 17 00:00:00 2001 From: PeerHerholz Date: Tue, 13 Apr 2021 14:27:12 -0400 Subject: [PATCH] adapt graphics function wrt --deface_t2w argument --- bidsonym/run_deeid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bidsonym/run_deeid.py b/bidsonym/run_deeid.py index 05f8490..19e595a 100644 --- a/bidsonym/run_deeid.py +++ b/bidsonym/run_deeid.py @@ -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: