diff --git a/run b/run index d997964..08c75e2 100755 --- a/run +++ b/run @@ -1,24 +1,5 @@ #!/bin/bash -# The following block allows to use the `run` script like this -# ``` -# ln -s run a_script.sh -# ./a_script.sh -# ``` -# which then runs `./run a_script.py` - -fn=$(basename $0) -if [ "$fn" != "run" ]; then - dn=$(dirname "$0") - sn=$(basename "$0" .sh) - dn="${dn}/run" - sn="${sn}.py" - echo "Running: $dn $sn" - $dn $sn - exit -fi - -### function help() { echo "Load conda env and run a script" @@ -42,8 +23,14 @@ if [[ -z $@ ]]; then exit 1 fi -source /sf/alvra/applications/miniconda3/etc/profile.d/conda.sh -conda activate adaq -source /sf/eido/source-python +#!/usr/bin/env python + +#source /sf/alvra/applications/miniconda3/etc/profile.d/conda.sh +#conda activate adaq +#source /sf/eido/applications/miniconda3/etc/profile.d/conda.sh +#conda activate slic-3.8-update6 +source /sf/daq/source-conda +conda activate slic +source /sf/daq/source-python $@