Skip to content

Commit

Permalink
Update src/pineko/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Roy Stegeman <[email protected]>
  • Loading branch information
scarlehoff and RoyStegeman authored Nov 26, 2024
1 parent 8e9adbf commit 38ce962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pineko/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def read_grids_from_nnpdf(dataset_name, configs=None):
from nnpdf_data import legacy_to_new_map, path_commondata
from nnpdf_data.commondataparser import EXT, parse_new_metadata

# We only need the metadata, so this should be enough
# pass it through the legacy_to_new in case this is an old name
# We only need the metadata, so this should be enough.
# Pass it through the legacy_to_new in case this is an old name.
dataset_name, variant = legacy_to_new_map(dataset_name)

setname, observable = dataset_name.rsplit("_", 1)
Expand Down

0 comments on commit 38ce962

Please sign in to comment.