diff --git a/nnpdf_data/nnpdf_data/__init__.py b/nnpdf_data/nnpdf_data/__init__.py index 341d863d5b..065909a120 100644 --- a/nnpdf_data/nnpdf_data/__init__.py +++ b/nnpdf_data/nnpdf_data/__init__.py @@ -1,10 +1,7 @@ -from functools import lru_cache import pathlib import ruamel.yaml as yaml -from ._version import __version__ - path_vpdata = pathlib.Path(__file__).parent path_commondata = path_vpdata / "commondata" @@ -19,7 +16,6 @@ } -@lru_cache def legacy_to_new_map(dataset_name, sys=None): """Find the new dataset name and variant corresponding to an old dataset and systematics choice""" @@ -39,7 +35,6 @@ def legacy_to_new_map(dataset_name, sys=None): return new_name, variant -@lru_cache def new_to_legacy_map(dataset_name, variant_used): """Loop over the dictionary and find the right dataset.