Skip to content

Commit

Permalink
Merge pull request #285 from JunAishima/update-conda-envs-2023-2
Browse files Browse the repository at this point in the history
Update conda envs 2023 2
  • Loading branch information
JunAishima authored Apr 24, 2023
2 parents c5e77d4 + 0123526 commit fcc2a47
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion bin/lsdcGui_amx
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export LSDCHOME=${PROJDIR}lsdc_amx
export PATH=/usr/local/bin:/usr/bin:/bin
export PYTHONPATH=".:${CONFIGDIR}:/opt/dectris/albula/4.0/python:${LSDCHOME}"
source ${CONFIGDIR}daq_env_amx.txt
/opt/conda_envs/lsdc-gui-2022-1-latest/bin/python $LSDCHOME/lsdcGui.py&
/opt/conda_envs/lsdc-gui-2023-2-latest/bin/python $LSDCHOME/lsdcGui.py&
2 changes: 1 addition & 1 deletion bin/lsdcGui_fmx
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export LSDCHOME=${PROJDIR}lsdc_fmx
export PATH=/usr/local/bin:/usr/bin:/bin
export PYTHONPATH=".:${CONFIGDIR}:/opt/dectris/albula/4.0/python:${LSDCHOME}"
source ${CONFIGDIR}daq_env.txt
/opt/conda_envs/lsdc-gui-2022-1.1/bin/python $LSDCHOME/lsdcGui.py&
/opt/conda_envs/lsdc-gui-2023-2-latest/bin/python $LSDCHOME/lsdcGui.py&
2 changes: 1 addition & 1 deletion bin/lsdcGui_nyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ export EPICS_CA_ADDR_LIST=10.67.147.255
export PATH=/usr/local/bin:/usr/bin:/bin
export PYTHONPATH=".:${CONFIGDIR}:/opt/dectris/albula/4.0/python:/usr/local/crys/edna-mx/mxv1/src:/usr/local/crys/edna-mx/kernel/src:${LSDCHOME}"
source ${CONFIGDIR}daq_env_nyx.txt
/opt/conda_envs/lsdc-gui-2022-1.1/bin/python $LSDCHOME/lsdcGui.py&
/opt/conda_envs/lsdc-gui-2023-2-latest/bin/python $LSDCHOME/lsdcGui.py&
2 changes: 1 addition & 1 deletion bin/lsdcRemote_amx.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export LD_LIBRARY_PATH=$matlab_distrib/bin/glnx86:$matlab_distrib/toolbox
export PINALIGNDIR=${PROJDIR}pinAlign/pin_align-master/
export MXPROCESSINGSCRIPTSDIR=${PROJDIR}mx-processing/
# below not ideal as environment name also needed by daq_mainAux
conda activate lsdc-server-2023-1-latest
conda activate lsdc-server-2023-2-latest
$LSDCHOME/daq_mainAux.py
2 changes: 1 addition & 1 deletion bin/lsdcRemote_fmx.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export LD_LIBRARY_PATH=$matlab_distrib/bin/glnx86:$matlab_distrib/toolbox
export PINALIGNDIR=${PROJDIR}pinAlign/pin_align-master/
export MXPROCESSINGSCRIPTSDIR=${PROJDIR}mx-processing/
# below not ideal as environment name also needed by daq_mainAux
conda activate lsdc-server-2023-1-latest
conda activate lsdc-server-2023-2-latest
$LSDCHOME/daq_mainAux.py
2 changes: 1 addition & 1 deletion bin/lsdcServer_amx.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export LD_LIBRARY_PATH=$matlab_distrib/bin/glnx86:$matlab_distrib/toolbox
export PINALIGNDIR=${PROJDIR}pinAlign/pin_align-master/
export MXPROCESSINGSCRIPTSDIR=${PROJDIR}lsdc-processing/
# below not idea as environment name also needed by daq_main2
conda activate lsdc-server-2023-1-latest
conda activate lsdc-server-2023-2-latest
$LSDCHOME/lsdcServer
2 changes: 1 addition & 1 deletion bin/lsdcServer_fmx.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export LD_LIBRARY_PATH=$matlab_distrib/bin/glnx86:$matlab_distrib/toolbox
export PINALIGNDIR=${PROJDIR}pinAlign/pin_align-master/
export MXPROCESSINGSCRIPTSDIR=${PROJDIR}lsdc-processing/
# below not idea as environment name also needed by daq_main2
conda activate lsdc-server-2023-1-latest
conda activate lsdc-server-2023-2-latest
$LSDCHOME/lsdcServer
2 changes: 1 addition & 1 deletion bin/lsdcServer_nyx.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export matlab_distrib=${PROJDIR}/software/c3d/matlab_distrib
export LD_LIBRARY_PATH=$matlab_distrib/bin/glnx86:$matlab_distrib/toolbox
export PINALIGNDIR=${PROJDIR}pinAlign/pin_align-master/
export MXPROCESSINGSCRIPTSDIR=${PROJDIR}lsdc-processing/
conda activate lsdc-server-2023-1-latest
conda activate lsdc-server-2023-2-latest
$LSDCHOME/lsdcServer
4 changes: 2 additions & 2 deletions bin/mt-load-check
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ esac
case $servorws in
ws*)
echo Workstation - activating GUI env
CONDA_ENV_BASE=/opt/conda_envs/lsdc-gui-2022-1.1
CONDA_ENV_BASE=/opt/conda_envs/lsdc-gui-2023-2-latest
;;
*)
echo Server - activating server env
CONDA_ENV_BASE=/opt/conda_envs/lsdc-server-2022-3.2
CONDA_ENV_BASE=/opt/conda_envs/lsdc-server-2023-2-latest
;;
esac
echo Running MT_LoadCheck script
Expand Down
2 changes: 1 addition & 1 deletion daq_main2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/conda_envs/lsdc-server-2023-1-latest/bin/ipython -i
#!/opt/conda_envs/lsdc-server-2023-2-latest/bin/ipython -i
"""
The main server for the LSDC system
"""
Expand Down
2 changes: 1 addition & 1 deletion daq_mainAux.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/conda_envs/lsdc-server-2023-1-latest/bin/ipython -i
#!/opt/conda_envs/lsdc-server-2023-2-latest/bin/ipython -i
"""
The server run when lsdcRemote is used
"""
Expand Down
2 changes: 1 addition & 1 deletion lsdcServer
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dzdo pkill -KILL -f daq_main2.py
source /opt/conda_envs/lsdc-server-2023-1-latest/bin/activate
source /opt/conda_envs/lsdc-server-2023-2-latest/bin/activate
$LSDCHOME/daq_main2.py
2 changes: 1 addition & 1 deletion mountCounter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/conda_envs/lsdc-server-2023-1-latest/bin/python
#!/opt/conda_envs/lsdc-server-2023-2-latest/bin/python
import lsdb1
import sys

Expand Down
2 changes: 1 addition & 1 deletion runFastDPH5.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/conda_envs/lsdc-server-2023-1-latest/bin/python
#!/opt/conda_envs/lsdc-server-2023-2-latest/bin/python
import os
import sys
import db_lib
Expand Down
2 changes: 1 addition & 1 deletion runPinAlign.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/conda_envs/lsdc-server-2023-1-latest/bin/python
#!/opt/conda_envs/lsdc-server-2023-2-latest/bin/python
import sys
import os

Expand Down
2 changes: 1 addition & 1 deletion runSpotFinder4syncW.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/conda_envs/lsdc-server-2023-1-latest/bin/python
#!/opt/conda_envs/lsdc-server-2023-2-latest/bin/python
import time
import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion start_bs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/conda_envs/lsdc-server-2023-1-latest/bin/ipython -i
#!/opt/conda_envs/lsdc-server-2023-2-latest/bin/ipython -i
# import asyncio
from ophyd import *
from ophyd.mca import (Mercury1, SoftDXPTrigger)
Expand Down
2 changes: 1 addition & 1 deletion sweepDump.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/conda_envs/lsdc-server-2023-1-latest/bin/python
#!/opt/conda_envs/lsdc-server-2023-2-latest/bin/python
import lsdb1
import sys

Expand Down
2 changes: 1 addition & 1 deletion wrapGui.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/conda_envs/lsdc-gui-2022-1-latest/bin/python
#!/opt/conda_envs/lsdc-gui-2023-2-latest/bin/python
"""
If lsdcGui is stopped abnormally, restart it!
"""
Expand Down

0 comments on commit fcc2a47

Please sign in to comment.