Skip to content

Commit a3631ff

Browse files
committed
Removing possible ambiguities in paths
1 parent 537271d commit a3631ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

servicex_analysis_utils/dataset_resolver.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ def ds_type_resolver(
7373
return dataset.XRootD(ds_name)
7474

7575
elif ds_name.startswith("/eos/"):
76-
if "opendata" in ds_name:
76+
if "/eos/opendata/" in ds_name:
7777
return dataset.FileList([f"root://eospublic.cern.ch/{ds_name}"])
78-
elif "atlas" in ds_name:
78+
elif "/eos/atlas/" in ds_name:
7979
return dataset.FileList([f"root://eosatlas.cern.ch/{ds_name}"])
80-
elif "cms" in ds_name:
80+
elif "/eos/cms/" in ds_name:
8181
return dataset.FileList([f"root://eoscms.cern.ch/{ds_name}"])
8282
else:
8383
raise ValueError(

0 commit comments

Comments
 (0)