Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] NNPDF data package #1965

Closed
wants to merge 14 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion buildmaster/old_new_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

from validphys.api import API
from validphys.convolution import central_predictions
from validphys.datafiles import path_commondata as old_cd_root
from nnpdf_data import path_commondata as old_cd_root
from validphys.loader import Loader

dataset_names_path = old_cd_root.with_name("new_commondata") / "dataset_names.yml"
Expand Down
4 changes: 2 additions & 2 deletions buildmaster/oldcommondata_porter.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
from yaml import safe_dump, safe_load

# Prepare the folders by automatically finding them from validphys
from validphys.datafiles import path_commondata as old_cd_root
from nnpdf_data import path_commondata as old_cd_root
from validphys.loader import Loader

# old_cd_root = validphys.datafiles / "commondata"
# old_cd_root = nnpdf_data / "commondata"
new_cd_root = old_cd_root.with_name("new_commondata")
dataset_names_path = new_cd_root / "dataset_names.yml"
theory_files = Loader()._theories_path
Expand Down
Empty file added nnpdf_data/README.md
Empty file.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from functools import lru_cache
import pathlib

from reportengine.compat import yaml
import ruamel.yaml as yaml


path_vpdata = pathlib.Path(__file__).parent
path_commondata = path_vpdata / "new_commondata"
Expand Down
Loading
Loading