eco switches
This commit is contained in:
10
eco
10
eco
@@ -1,12 +1,6 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
#source /opt/gfa/python
|
default=sfb312
|
||||||
|
|
||||||
default=bernina38
|
|
||||||
dest=${1:-$default}
|
dest=${1:-$default}
|
||||||
source anaconda_env $dest
|
source mm_bernina_env $dest
|
||||||
|
|
||||||
ipython --pylab --profile=eco3 --no-banner -i -c "run /sf/bernina/config/src/python/eco/startup_inline_new.py -l -s bernina"
|
ipython --pylab --profile=eco3 --no-banner -i -c "run /sf/bernina/config/src/python/eco/startup_inline_new.py -l -s bernina"
|
||||||
|
|
||||||
|
|
||||||
#python /sf/bernina/config/src/python/eco/startup.py -s bernina "$@" -l
|
|
||||||
|
|
||||||
|
|||||||
17
eco_historic
Executable file
17
eco_historic
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
#/bin/bash
|
||||||
|
#source /opt/gfa/python
|
||||||
|
source anaconda_env
|
||||||
|
export PYTHONPATH=$PYTHONPATH:/sf/bernina/config/src/python
|
||||||
|
ipython --profile=operation --pylab --no-banner -c "\
|
||||||
|
print(' ___ _______\n / -_) __/ _ \ \n Experiment Control \__/\__/\___/ \n\n');\
|
||||||
|
import h5py;\
|
||||||
|
h5py.enable_ipython_completer();\
|
||||||
|
import IPython.utils as _ipy_utils;\
|
||||||
|
_ipy_utils.terminal.set_term_title('eco Bernina');\
|
||||||
|
|
||||||
|
from eco_old.instruments import bernina;\
|
||||||
|
from eco_old.instruments.bernina import *;\
|
||||||
|
from escape.parse.swissfel import parseScanEco_v01;\
|
||||||
|
#%config IPCompleter.use_jedi=True;\
|
||||||
|
" -i
|
||||||
|
|
||||||
6
eco_new
6
eco_new
@@ -1,6 +0,0 @@
|
|||||||
#/bin/bash
|
|
||||||
default=sfb312
|
|
||||||
dest=${1:-$default}
|
|
||||||
source mm_bernina_env $dest
|
|
||||||
|
|
||||||
ipython --pylab --profile=eco3 --no-banner -i -c "run /sf/bernina/config/src/python/eco/startup_inline_new.py -l -s bernina"
|
|
||||||
21
eco_old
21
eco_old
@@ -1,17 +1,12 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
#source /opt/gfa/python
|
#source /opt/gfa/python
|
||||||
source anaconda_env
|
|
||||||
export PYTHONPATH=$PYTHONPATH:/sf/bernina/config/src/python
|
|
||||||
ipython --profile=operation --pylab --no-banner -c "\
|
|
||||||
print(' ___ _______\n / -_) __/ _ \ \n Experiment Control \__/\__/\___/ \n\n');\
|
|
||||||
import h5py;\
|
|
||||||
h5py.enable_ipython_completer();\
|
|
||||||
import IPython.utils as _ipy_utils;\
|
|
||||||
_ipy_utils.terminal.set_term_title('eco Bernina');\
|
|
||||||
|
|
||||||
from eco_old.instruments import bernina;\
|
default=bernina38
|
||||||
from eco_old.instruments.bernina import *;\
|
dest=${1:-$default}
|
||||||
from escape.parse.swissfel import parseScanEco_v01;\
|
source anaconda_env $dest
|
||||||
#%config IPCompleter.use_jedi=True;\
|
|
||||||
" -i
|
ipython --pylab --profile=eco3 --no-banner -i -c "run /sf/bernina/config/src/python/eco/startup_inline_new.py -l -s bernina"
|
||||||
|
|
||||||
|
|
||||||
|
#python /sf/bernina/config/src/python/eco/startup.py -s bernina "$@" -l
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ echo Loading Bernina Micromamba/conda Python # <<< conda initialize <<<
|
|||||||
source /sf/bernina/bin/mm_bernina
|
source /sf/bernina/bin/mm_bernina
|
||||||
|
|
||||||
|
|
||||||
#micromamba config append envs_dirs /sf/bernina/applications/mm/envs
|
micromamba config append envs_dirs /sf/bernina/applications/mm/envs
|
||||||
#conda config --set env_prompt '({name})'
|
#conda config --set env_prompt '({name})'
|
||||||
|
|
||||||
echo Activating Micromamba/conda environment ${1:-$dest}
|
echo Activating Micromamba/conda environment ${1:-$dest}
|
||||||
|
|||||||
Reference in New Issue
Block a user