Skip to content

Commit

Permalink
fix workflow papermill command
Browse files Browse the repository at this point in the history
  • Loading branch information
rwood-97 committed Nov 13, 2024
1 parent b48868c commit a9ef864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
find . -name "*.ipynb" -exec sed -Ei "s/num_epochs=.?.?/num_epochs=1/g" {} +
find . -name "*.ipynb" -exec sed -i "s/PatchDataset(patch_df,/PatchDataset(patch_df[:1],/g" {} +
find . -name "*.ipynb" -exec sed -i "s/PatchContextDataset(patch_df,/PatchDataset(patch_df[:1],/g" {} +
find . -name "*.ipynb" -exec papermill --cwd $(dirname {}) --log-output {} {} \;
find . -name "*.ipynb" -exec bash -c 'papermill --cwd $(dirname {}) {} {}' \;

0 comments on commit a9ef864

Please sign in to comment.