Skip to content

Commit d7663df

Browse files
committed
adjusting RCT/RunInformation path
1 parent 081899e commit d7663df

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ def addWhenActive(detID, needslist, appendstring):
191191
def retrieve_sor(run_number):
192192
"""
193193
retrieves start of run (sor)
194-
from the RCT/RunInformation table with a simple http request
194+
from the RCT/Info/RunInformation table with a simple http request
195195
in case of problems, 0 will be returned
196196
"""
197-
url="http://alice-ccdb.cern.ch/browse/RCT/RunInformation/"+str(run_number)
197+
url="http://alice-ccdb.cern.ch/browse/RCT/Info/RunInformation/"+str(run_number)
198198
ansobject=requests.get(url)
199199
tokens=ansobject.text.split("\n")
200200

MC/bin/o2dpg_sim_workflow_anchored.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ def fetch_header(self, path, timestamp=None):
8686
def retrieve_sor_eor(ccdbreader, run_number):
8787
"""
8888
retrieves start of run (sor) and end of run (eor) given a run number
89-
from the RCT/RunInformation table
89+
from the RCT/Info/RunInformation table
9090
"""
9191

92-
path_run_info = "RCT/RunInformation"
92+
path_run_info = "RCT/Info/RunInformation"
9393
header = ccdbreader.fetch_header(path_run_info, run_number)
9494
if not header:
9595
print(f"WARNING: Cannot find run information for run number {r}")

0 commit comments

Comments
 (0)