From 7f7633df9a9558aef69798c2023a47d9c984ef1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Le=20Guyader?= <loic.le.guyader@xfel.eu> Date: Wed, 20 Oct 2021 10:57:20 +0200 Subject: [PATCH] make use of find-proposal --- scripts/boz_parameters_job.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/boz_parameters_job.sh b/scripts/boz_parameters_job.sh index 74dc440..e180b0b 100644 --- a/scripts/boz_parameters_job.sh +++ b/scripts/boz_parameters_job.sh @@ -18,7 +18,11 @@ module load exfel module load exfel_anaconda3/1.1 echo processing run $RUN -mkdir ../../processed_runs/r$RUN -papermill 'BOZ analysis part I parameters determination.ipynb' ../../processed_runs/r$RUN/output.ipynb \ +PDIR=$(find-proposal $PROPOSAL) +RDIR="$PDIR/usr/processed_runs/r$(printf '%04d' $RUN)" +mkdir $RDIR + +papermill 'BOZ analysis part I parameters determination.ipynb' \ + $RDIR/output.ipynb \ -p proposal $PROPOSAL -p darkrun $DARK -p run $RUN -p module $MODULE \ -p gain $GAIN -p rois_th $ROISTH -p sat_level $SATLEVEL -k xfel -- GitLab