Skip to content

Commit 76814aa

Browse files
committed
Try relative paths for conversion
1 parent dadc230 commit 76814aa

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/build_wasm.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ fi
7070
echo "Converting Panel apps to Pyodide worker output..."
7171
export PYTHONPATH="${ROOT_DIR}/src:${PYTHONPATH:-}"
7272

73-
# Use the full path for the requirements so the converter can find the file
73+
# Use clean, relative paths so Panel mirrors the directory structure correctly
7474
"${PYTHON_BIN}" -m panel convert \
75-
"${ROOT_DIR}/panel/simdec_app.py" \
76-
"${ROOT_DIR}/panel/sampling.py" \
75+
panel/simdec_app.py \
76+
panel/sampling.py \
7777
--to pyodide-worker \
78-
--out "${ROOT_DIR}/${OUT_DIR}" \
79-
--requirements "${ROOT_DIR}/${SIMDEC_WHEEL_PATH}" numpy pandas matplotlib seaborn scipy SALib \
80-
--resources "${ROOT_DIR}/panel/data/stress.csv"
78+
--out "${OUT_DIR}" \
79+
--requirements "${SIMDEC_WHEEL_PATH}" numpy pandas matplotlib seaborn scipy SALib \
80+
--resources panel/data/stress.csv
8181

8282
# Copy custom index page and static assets
8383
echo "Copying custom index page and static assets..."

0 commit comments

Comments
 (0)