Skip to content

Datasets name changes #1984

@Cmurilochem

Description

@Cmurilochem

Hi @scarlehoff.
When testing the calculation of phi in the hyperopt_loss branch, I have the following:

def get_experimental_data(dataset_name="NMC", theoryid=399):
    """Get experimental data set using validphys.

    Returns a list defined by the data set as
    `validphys.core.DataGroupSpec`.
    """
    loader = Loader()
    ds = loader.check_dataset(dataset_name, theoryid=theoryid, cuts="internal")
    return loader.check_experiment("My DataGroupSpec", [ds])

After rebasing this morning, I have an error:

E               validphys.loader.LoaderError: Trying to use a new theory with an old commondata format, surely it must be a mistake: NMC

/usr/share/miniconda/envs/test/lib/python3.12/site-packages/validphys/loader.py:728: LoaderError
----------------------------- Captured stderr call -----------------------------
Warning: : Error trying to read NMC, falling back to the old format reader
Error: : Trying to read NMC in the old format. Note that this is deprecated and will be removed in future releases

Do you have any clue on how to solve this?
Thank you!

Metadata

Metadata

Assignees

Labels

esciencequestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions