This commit is contained in:
2022-08-24 08:53:54 +02:00
parent 1c1e93a4d2
commit df53197d01
6 changed files with 153 additions and 24 deletions

View File

@@ -1,6 +1,12 @@
import sys,os
sys.path.insert(0, os.path.expanduser('~/Documents/prj/SwissFEL/PBTools/'))
import sys,os,socket
sys.path.insert(0, os.path.expanduser('..'))
hostname=socket.gethostname()
if hostname=='ganymede':
sys.path.insert(0, os.path.expanduser('~/Documents/prj/SwissFEL/PBTools/'))
else:
#sys.path.insert(0, os.path.expanduser('/tmp/zamofing_t/PBTools/'))
sys.path.insert(0, os.path.expanduser('/sf/cristallina/applications/mx/zamofing_t/PBTools/'))
import logging
_log=logging.getLogger(__name__)