Skip to content
Snippets Groups Projects
Commit 8aa9ca75 authored by Ian Bell's avatar Ian Bell
Browse files

Don't execute the checkpoint notebooks

parent f1c5c2f1
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ release = teqp.__version__
subprocess.check_output(f'jupyter nbconvert --version', shell=True)
for path, dirs, files in os.walk('.'):
for file in files:
if file.endswith('.ipynb'):
if file.endswith('.ipynb') and '.ipynb_checkpoints' not in path:
subprocess.check_output(f'jupyter nbconvert --ExecutePreprocessor.allow_errors=True --to notebook --output {file} --execute {file}', shell=True, cwd=path)
# -- General configuration ---------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment