Skip to content

Pineappl FkTable reader fails for new Jet grids #1829

@comane

Description

@comane

When trying to load a theory 600 pineappl grid such as ATLAS_1JET_8TEV_R06_PTY_BIN1.pineappl.lz4 using:

pineappl.fk_table.FkTable("ATLAS_1JET_8TEV_R06_PTY_BIN1.pineappl.lz4")

I get the following error

---------------------------------------------------------------------------
PanicException                            Traceback (most recent call last)
File /var/folders/h8/rpdyzfjj6bv49nxrm1s22g1c0000gn/T/ipykernel_48719/2477570161.py:1
----> 1 FkTable.read("/Users/markcostantini/local/nnpdf_data/theory/theory_600/fastkernel/ATLAS_1JET_8TEV_R06_PTY_BIN1.pineappl.lz4")

File ~/miniconda3/envs/nnpdf-dev/lib/python3.9/site-packages/pineappl/fk_table.py:35, in FkTable.read(cls, path)
     18 @classmethod
     19 def read(cls, path):
     20     """
     21     Load an existing grid from file.
     22 
   (...)
     33             grid object
     34     """
---> 35     return cls(PyFkTable.read(path))

PanicException: called `Result::unwrap()` on an `Err` value: NonUniqueGrids

Maybe @scarlehoff and @t7phy can help with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions