better name for detector_name variable

This commit is contained in:
Dmitry Ozerov
2023-08-14 13:39:10 +02:00
parent 094922735e
commit 859546c7b7
3 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@
while true
do
echo "Running "`date`
python ${DIR_AP}/ap/ap.py --pgroup ${PGROUP} --beamline ${BEAMLINE} --detector ${DETN} --logbook ${LOGBOOK} --dir_ap ${DIR_AP}
python ${DIR_AP}/ap/ap.py --pgroup ${PGROUP} --beamline ${BEAMLINE} --detector ${DETECTOR_NAME} --logbook ${LOGBOOK} --dir_ap ${DIR_AP}
${DIR_AP}/scripts/jobs_overview.sh

View File

@ -1,7 +1,5 @@
#!/bin/bash
DIRNAME=`dirname ${BASH_SOURCE}`
export PGROUP=<EDIT HERE>
export BEAMLINE=alvra
@ -12,16 +10,16 @@ BASEDIR=/sf/${BEAMLINE}/data/${PGROUP}/res
source /sf/jungfrau/applications/miniconda3/etc/profile.d/conda.sh
conda activate sf-dap
export DETN=<EDIT HERE>
export DETECTOR_NAME=<EDIT HERE>
# Possible choice: JF06T08V04 JF06T32V04 JF17T16V01
export GEOM_FILE=${DETN}.geom
export GEOM_FILE=${DETECTOR_NAME}.geom
#for Alvra(rounding 0.25): 4000 and lower
#for Cristallina (photon counts): 10
# edit run_index.*.sh file(s) for indexing options
export THRESHOLD_INDEXING=10
# edit run_index.*.sh file(s) for (more) indexing options
export THRESHOLD_INDEXING=<EDIT HERE>
#LOGBOOK="https://docs.google.com/spreadsheets/...."
LOGBOOK=<EDIT HERE>
# Possible choice: None (if no google logbook feeling)
CONFIG_DIR=$PWD

View File

@ -20,6 +20,8 @@ do
fi
done
#path to current directory which contains config files
echo "export CONFIG_DIR=$PWD" >> env_setup.sh
# path to the installed ap package
DIR_AP=`dirname ${SRC}`
echo "export DIR_AP=${DIR_AP}" >> env_setup.sh