Skip to content

Physlite schema can't deal with entry_start #1280

Open
@ikrommyd

Description

@ikrommyd
from coffea.nanoevents import NanoEventsFactory, PHYSLITESchema

events = NanoEventsFactory.from_root({"/Users/iason/work/coffea_dev/coffea/tests/samples/PHYSLITE_example.root": "CollectionTree"}, delayed=False, schemaclass=PHYSLITESchema, entry_start=31).events()

gives

TypeError: size of array (90) is less than size of form (134)

This error occurred while calling

    ak.from_buffers(
        {'class': 'RecordArray', 'fields': ['xTrigDecision', 'METAssoc_MET', ...
        69
        <coffea.nanoevents.mapping.uproot.UprootSourceMapping object at 0x113...
        buffer_key = partial-instance
        behavior = {'Systematic': <class 'coffea.nanoevents.methods.base.Syst...
        attrs = {'@events_factory': <coffea.nanoevents.factory.NanoEventsFact...
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions