Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit dd678b0d authored by gac-maloja's avatar gac-maloja
Browse files

add path in python; remove shell script

parent a1162435
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,13 @@ parser.add_argument("energy", type=float, help="Target energy in eV")
clargs = parser.parse_args()
import os
import sys
slic_path = os.path.dirname(sys.argv[0]) + "/../slic"
sys.path.append(slic_path)
from time import sleep
from devices.undulator import Undulators
......
#!/bin/bash
cd $(dirname $0)
PYTHONPATH=../slic ./SetAthosUndEnergy.py $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment