Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
updated notebook fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Mar 4, 2024
1 parent 8da4970 commit 84d713b
Show file tree
Hide file tree
Showing 2 changed files with 294 additions and 76 deletions.
1 change: 1 addition & 0 deletions biosimulator_processes/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ def fix_execution_count(notebook_path):
if cell['cell_type'] == 'code':
if 'execution_count' not in cell:
cell['execution_count'] = None
print('execution_count' in cell)

with open(notebook_path, 'w', encoding='utf-8') as f:
nbformat.write(nb, f)
Expand Down
Loading

0 comments on commit 84d713b

Please sign in to comment.