From 833921d16092ece89ba4abacbbfb6b7c45797a88 Mon Sep 17 00:00:00 2001 From: Philipp Schmidt <philipp.schmidt@xfel.eu> Date: Mon, 13 Dec 2021 10:01:56 +0100 Subject: [PATCH] Fix missing switch from key to attribute access in xfel-calibrate args after rework --- src/xfel_calibrate/nb_args.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfel_calibrate/nb_args.py b/src/xfel_calibrate/nb_args.py index edf893e00..bdf4a7d5e 100644 --- a/src/xfel_calibrate/nb_args.py +++ b/src/xfel_calibrate/nb_args.py @@ -423,7 +423,7 @@ def parse_argv_and_load_nb(argv) -> Tuple[Dict, NBDetails]: 'location is sufficient for your ' 'needs.'.format(', '.join(not_reproducible_args))) - if not args['not_reproducible']: + if not args.not_reproducible: # If not explicitly specified that reproducibility may be # broken, remind the user and exit. print('To proceed, you can explicitly allow reproducibility to ' -- GitLab