Skip to content
Snippets Groups Projects

Reproducibility, step 1

Merged Thomas Kluyver requested to merge feat/reproducibility into master
2 files
+ 2
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -1041,6 +1041,7 @@ def run():
user_venv = nb_info.get("user", {}).get("venv")
if user_venv:
user_venv = Path(user_venv.format(**args))
print("Using specified venv:", user_venv)
python_exe = str(user_venv / 'bin' / 'python')
else:
python_exe = python_path
@@ -1107,7+1108,7 @@
print(f"Concurrency parameter '{concurrency_par}' "
f"is taken from notebooks.py")
cvals = concurrency_defval if isinstance(concurrency_defval, (list, tuple)) else range(concurrency_defval)
if cvals is None:
defcval = get_par_attr(parms, concurrency_par, 'value')
if defcval is not None:
Loading