iris-hep / func_adl_uproot

Uproot-based backend for FuncADL
MIT License
0 stars 0 forks source link

Colons in filenames break queries without a tree name #112

Closed masonproffitt closed 1 year ago

masonproffitt commented 1 year ago

If the tree name isn't specified, uproot.open() is used to find the first tree in the file. However, if the filename has a colon in it, this operation will fail, since uproot tries to interpret whatever follows the colon as a key in the file. We need to use uproot.open({filename: None}) to avoid this. See also https://github.com/CoffeaTeam/coffea/pull/771.