diff --git a/.github/workflows/check_notebooks.yml b/.github/workflows/check_notebooks.yml index 4ca480d..969a5cb 100644 --- a/.github/workflows/check_notebooks.yml +++ b/.github/workflows/check_notebooks.yml @@ -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 {} {} \; \ No newline at end of file + find . -name "*.ipynb" -exec bash -c 'papermill --cwd $(dirname {}) {} {}' \; \ No newline at end of file