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

yoda: support a possible 'Reference data' qualifier #39

Open
GraemeWatt opened this issue May 6, 2021 · 0 comments
Open

yoda: support a possible 'Reference data' qualifier #39

GraemeWatt opened this issue May 6, 2021 · 0 comments
Assignees

Comments

@GraemeWatt
Copy link
Member

Similar to the existing 'Custom Rivet identifier' qualifier:

# Allow the standard Rivet identifier to be overridden by a custom value specified in the qualifiers.
if 'qualifiers' in table.dependent_variables[idep]:
for qualifier in table.dependent_variables[idep]['qualifiers']:
if qualifier['name'] == 'Custom Rivet identifier':
rivet_identifier = qualifier['value']

the code should check for a qualifier with name 'Reference data' and value 'false'. In this case, the rivet_path should be defined with THY (theory predictions) instead of REF (reference data) and the graph.setAnnotation('IsRef', '1') line should be omitted.

Request from Christian Gutschow.

@GraemeWatt GraemeWatt moved this to Todo in @HEPData Feb 3, 2022
@GraemeWatt GraemeWatt self-assigned this Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

1 participant