Skip to content
Snippets Groups Projects

[master] Always use root:// in HistogramMergingAgent

Merged Chris Burr requested to merge cburr/fix-histo-merging-agent into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -347,7 +347,7 @@ class HistogramMergingAgent(AgentModule):
if dummy or gStandAlone:
# Assume the LFNs are at CERN
return {lfn: "root://eoslhcb.cern.ch//eos/lhcb/grid/prod" + lfn for lfn in lfns}
replicas = returnValueOrRaise(self.dm_client.getReplicas(lfns, diskOnly=True, getUrl=True))
replicas = returnValueOrRaise(self.dm_client.getReplicas(lfns, diskOnly=True, getUrl=True, protocol="root"))
if replicas["Failed"]:
raise NotImplementedError(replicas)
all_pfns = {lfn: list(pfns.values())[0] for lfn, pfns in replicas["Successful"].items()}
Loading