Skip to content

to_awk failling for output from TopCP transformer #36

@ArturU043

Description

@ArturU043

Make to_awk more general for TTree selection on the transformed files.

Running the function on the output of request 25e12727-2a88-4381-afa7-2f9649e6cc06

ERROR:root:
Error loading sample: test_tpct_IC
Traceback (most recent call last):
  File "[/usr/local/lib/python3.12/site-packages/servicex_analysis_utils/materialization.py", line 88](https://coffea-dev.af.uchicago.edu/usr/local/lib/python3.12/site-packages/servicex_analysis_utils/materialization.py#line=87), in to_awk
    list(iterators)
  File "[/usr/local/lib/python3.12/site-packages/uproot/behaviors/TBranch.py", line 189](https://coffea-dev.af.uchicago.edu/usr/local/lib/python3.12/site-packages/uproot/behaviors/TBranch.py#line=188), in iterate
    hasbranches = uproot._util.regularize_object_path(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "[/usr/local/lib/python3.12/site-packages/uproot/_util.py", line 988](https://coffea-dev.af.uchicago.edu/usr/local/lib/python3.12/site-packages/uproot/_util.py#line=987), in regularize_object_path
    raise ValueError(
ValueError: TTree object paths must be specified in the 'files' as {"filenames*.root": "path"} if any files have more than one TTree

    TTrees: 'EventLoop_FileExecuted', 'EventLoop_JobStats', 'reco'

in file [/tmp/servicex_acordeir/25e12727-2a88-4381-afa7-2f9649e6cc06/root___192.170.240.191_1094__root___grid-se.physik.uni-wuppertal.de_1094__pnfs_physik.uni-wuppertal.de_data_atlas_atlasdatadisk_rucio_mc20_13TeV_10_0c_DAOD_PHYSLITE.44466820._000001.pool.root.1](https://coffea-dev.af.uchicago.edu/tmp/servicex_acordeir/25e12727-2a88-4381-afa7-2f9649e6cc06/root___192.170.240.191_1094__root___grid-se.physik.uni-wuppertal.de_1094__pnfs_physik.uni-wuppertal.de_data_atlas_atlasdatadisk_rucio_mc20_13TeV_10_0c_DAOD_PHYSLITE.44466820._000001.pool.root.1)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingchoreImprovement of syntax, general code & package organisation ...

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions