File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
MC/run/ANCHOR/2021/OCT/pass4 Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ if [ "${MCRC}" = "0" ]; then
144144fi
145145
146146# could take this way finally
147- if [ ${ALIBI_EXECUTOR_FRAMEWORK} ]; then
147+ if [ ${ALIBI_EXECUTOR_FRAMEWORK} ]; then
148148 # publish the original data to ALIEN
149149 find ./ -name " localhos*_*" -delete
150150 tar -czf mcarchive.tar.gz workflow.json tf* QC pipeline*
Original file line number Diff line number Diff line change @@ -246,16 +246,12 @@ def extract_commands(commandlist):
246246
247247# some manual intervention (could and should be done from outside)
248248def postadjust_ConfigValues (flat_config ):
249- # for now we reset the TPC calibration things
250249 gpuglobal = flat_config .get ("GPU_global" )
251- if gpuglobal != None :
252- gpuglobal .pop ("dEdxCorrFile" , None )
253- gpuglobal .pop ("gainCalibFile" , None )
254- gpuglobal .pop ("dEdxPolTopologyCorrFile" , None )
255- d = os .getcwd ()
256- gpuglobal ["dEdxSplineTopologyCorrFile" ]= d + "/splines_for_dedx_threshold_3.5.root"
257- gpuglobal ["thresholdCalibFile" ]= d + "/NoiseThresholds.3.5s.physics.root"
258-
250+ # fix location of root files for TPC
251+ d = os .getcwd ()
252+ for key in gpuglobal :
253+ if gpuglobal [key ].count (".root" ) > 0 :
254+ gpuglobal [key ] = d + "/" + gpuglobal [key ]
259255
260256cmdlist = get_topology_cmd ("workflowconfig.log" )
261257#print (cmdlist)
You can’t perform that action at this time.
0 commit comments