Skip to content

Commit

Permalink
WIP getting papermill to run
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCreator committed Aug 23, 2023
1 parent a21b493 commit 1cb089b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion notebook/github-runner/github-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ mkdir -p $PROJ_DIR/model
# Run the notebook, and store a copy into the output dir
# -----

INPUT_FILE_PATH="$PROJ_DIR/datapath/$NOTEBOOK_FILE"
OUTPUT_FILE_PATH="$PROJ_DIR/output/$NOTEBOOK_FILE"
mkdir -p "$(dirname "$OUTPUT_FILE_PATH")"

echo "# [NOTE] Running notebook: $NOTEBOOK_FILE"
cd "$PROJ_DIR"
papermill "$NOTEBOOK_DIR/$NOTEBOOK_FILE" "$PROJ_DIR/output/$NOTEBOOK_FILE" -k python3 --log-output
papermill \
-k python3 --log-output \
"$INPUT_FILE_PATH" "$OUTPUT_FILE_PATH"

0 comments on commit 1cb089b

Please sign in to comment.