Skip to content
Snippets Groups Projects
Commit 8f08b9b9 authored by Joa Ljungvall's avatar Joa Ljungvall
Browse files

just changing paths to make it work

parent a0a22acf
Branches main
No related tags found
No related merge requests found
Pipeline #152681 passed
......@@ -147,9 +147,9 @@ class Conf(object):
def makeReplay(runNr, opts):
conf = Conf(opts.conf)
agataDataPath = "/agatadisks/AGATAD_P2_{:s}".format(conf.exp)
agataDataPath = "/home/jljungva/Exp22_91_60Fe/exp22_91/AGATAD_P2_{:s}".format(conf.exp)
if not conf.AGATAalone:
ancillaryDataPath = "/ancillarydisks/AGATAD_P2_{:s}".format(conf.exp)
ancillaryDataPath = "/home/jljungva/Exp22_91_60Fe/exp22_91/AGATAD_P2_{:s}".format(conf.exp)
else:
ancillaryDataPath = ""
......@@ -160,7 +160,7 @@ def makeReplay(runNr, opts):
turns = opts.nturns
def run():
os.system("femul {:s} -turns {:d} | tee log_{:s}_run_{:s}.txt".format(conf.topo, turns,conf.exp,str(runNr).zfill(4)))
os.system("ADF_CONF_PATH=/home/jljungva/Exp22_91_60Fe/exp22_91/EXP_018/Replay femul {:s} -turns {:d} | tee log_{:s}_run_{:s}.txt".format(conf.topo, turns,conf.exp,str(runNr).zfill(4)))
runThread = Thread(target=run)
runThread.setDaemon(True)
......@@ -251,7 +251,8 @@ def makeReplay(runNr, opts):
#Get the folder with the right run number
ancillaryRunPath = ""
names = glob.glob("{:s}/run_{:s}*".format(ancillaryDataPath,str(runNr).zfill(4)))
names = glob.glob("{:s}/run_{:s}*/Data/caen_digitizer".format(ancillaryDataPath,str(runNr).zfill(4)))
print(names)
if len(names) == 0:
raise Exception("Ancillary run not found")
elif len(names) > 1:
......
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