Skip to content

New to old data converter#64

Open
comane wants to merge 32 commits into
mainfrom
commondata_converter_new_to_old
Open

New to old data converter#64
comane wants to merge 32 commits into
mainfrom
commondata_converter_new_to_old

Conversation

@comane
Copy link
Copy Markdown
Member

@comane comane commented Apr 16, 2024

Adds scripts for the conversion of the new format to the old

@comane comane changed the title [WIP] New to old data converter New to old data converter Apr 27, 2024
Comment thread validphys2/src/validphys/utils.py Outdated
if sys_name == 'stat':
continue

if uncertainty_definitions[sys_name]['treatment'] == "ADD":
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove if clause, since the systematics in the new format are all stored as additive

@FrancescoMerlotti
Copy link
Copy Markdown
Collaborator

Added a couple of scripts to make the new to old conversion quicker, it is not completely automatic because of the lack of consistency in the NNPDF file naming in the new format, e.g. data.yaml or data_<observable>.yaml or data_legacy_<obs>.yaml.

commondata_new_to_old must run in this PR.
test_commondata_new_to_old must run in nnpdf up to date environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants