Skip to content

Commit 21847a8

Browse files
committed
csv convert
1 parent fd76c15 commit 21847a8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

csv_convert/convert_campaign.slurm.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@
1111
set -euo pipefail
1212

1313
CAMPAIGN=/volatile/eic/romanov/meson-structure-2025-06
14-
CODE_HOME=
14+
CSV_CONVERT_DIR=/work/eic/users/romanov/meson-structure-work/meson-structure/csv_convert
1515
IMG=/cvmfs/singularity.opensciencegrid.org/eicweb/eic_xl:nightly
1616

1717
echo "[INFO] Running convert_campaign.py in $(hostname)"
1818
echo "[INFO] Campaign directory : $CAMPAIGN"
1919
echo "[INFO] Container image : $IMG"
20+
echo "[INFO] CSV_CONVERT_DIR : $CSV_CONVERT_DIR"
2021
echo "[INFO] Log file : $SLURM_OUTPUT"
2122

2223
# Bind the whole campaign so script sees reco/ inside /work
23-
singularity exec -B "$CAMPAIGN":/work "$IMG" \
24-
python3 /work/convert_campaign.py /work --submit
24+
singularity exec -B "$CAMPAIGN":/work -B "$CSV_CONVERT_DIR":/code "$IMG" \
25+
python3 /code/convert_campaign.py /work --submit
2526

2627
echo "[DONE] Conversion job finished"

0 commit comments

Comments
 (0)