diff --git a/src/xfel_calibrate/nb_args.py b/src/xfel_calibrate/nb_args.py
index c8b9f7ebf9217926145d70a3d024ff2bfbfa7bb6..e4ab7786fcacfce9d25834bec8d9935ae21aeff1 100644
--- a/src/xfel_calibrate/nb_args.py
+++ b/src/xfel_calibrate/nb_args.py
@@ -452,8 +452,7 @@ def parse_argv_and_load_nb(argv) -> Tuple[Dict, NBDetails]:
 
         user_notebook_args, _ = user_notebook_parser.parse_known_args(argv[1:])
 
-        nb_info["notebook"] = user_notebook_path.format(**vars(user_notebook_args))
-        notebook = nb_info["notebook"]
+        notebook = user_notebook_path.format(**vars(user_notebook_args))
 
     concurrency = nb_info.get("concurrency", {'parameter': None})