Skip to content

Commit 2aa9e96

Browse files
authored
Update paths for Pyodide worker conversion
1 parent 3c3f762 commit 2aa9e96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build_wasm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ echo "Converting Panel apps to Pyodide worker output..."
6262
export PYTHONPATH="${ROOT_DIR}/src:${PYTHONPATH:-}"
6363

6464
# Use the full path for the requirements so the converter can find the file
65-
"${PYTHON_BIN}" -m panel convert panel/simdec_app.py panel/sampling.py \
65+
"${PYTHON_BIN}" -m panel convert "${ROOT_DIR}/panel/simdec_app.py" "${ROOT_DIR}/panel/sampling.py" \
6666
--to pyodide-worker \
6767
--out "${OUT_DIR}" \
68-
--requirements "${SIMDEC_WHEEL_PATH}" numpy pandas matplotlib seaborn scipy SALib \
69-
--resources panel/data/stress.csv
68+
--requirements "${ROOT_DIR}/${SIMDEC_WHEEL_PATH}" numpy pandas matplotlib seaborn scipy SALib \
69+
--resources "${ROOT_DIR}/panel/data/stress.csv"
7070

7171
# Copy custom index page and static assets
7272
echo "Copying custom index page and static assets..."

0 commit comments

Comments
 (0)