-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support reading v0.13 and v0.14 files #417
base: master
Are you sure you want to change the base?
Conversation
4ever But I'm happy with moving it to the theory parser in NNPDF (i.e., having an attribute in the
I agree. The ones in 0.15 are surely a data version different from what we have
from the nnpdf side I don't mind not having this. In practice it would mean that the x-grid is completely fixed. If I understand correctly this feature has been more a convenience for people that could create more custom ekos and then got the 192x LHAPDF grid as the output? (did I understood it correctly @giacomomagni ?) |
since we are updating
here we are safe I think, it's already impossible to read 0.12 (?)
so in order to use the old ekos (0.13) you'd need to convert them, can't we add some checks while applying the conversion and warn the user? |
Wait, I thought the pdf ekos that we have were already ok without rotation? Or do you mean the fktables ekos? |
definitely. I'm not sure, if that is better here or in NNPDF - we may want to move it e.g. into
yes, but it will require anyway work since this is a major change already
I think so - that was never requested and so with this PR I put a hard limit on v0.13
just warning would be doable - but is that sufficient?
that's the thing: eko can not know for what you use the it - and FK-ekos are rotated by default, even on multiple axes (I think). The main post-fit eko might be safe by chance. You can still rotate the eko in any way you like, but it is now always stored in the "canconical basis" (of course you can force your way) |
Yes, they might be correct by chance... but if they are correct then we are happy I'd say, chance or not |
sorry @evagroenendijk for the delay but I added some todo items to the PR description above on which you can work as a warm-up; are the items sufficiently clear? Please ping me if they are not ... @giacomomagni should we pin the test cases to LHA LO FFNS unpolarized? and check the actual numbers are fine? should we check for failure (i.e. "non-squared" or x rotated)? |
Yes that could be a good idea, I'd indeed try to check if the thing is not-squared, because it's not possible to translate it or use it... |
Okay, this will need some thinking, as we maybe want to come up with a more future-proof strategy (see e.g. #145 #328)
eko.runner.managed.solve
which is the new default does only accept new runcards, i.e. if you need to convert the user has to do that before calling the function (see also below)eko.io.runcards.Legacy
: 1. we should rename that toNnpdfDb
or similar (and maybe move it?) and 2. I guess we need to maintain that also midterm (or even forever)__data_version__
since we introduced it, but I guess we should start doing so to disentangle a change in API (__version__
) from a change in the file format (__data_version__
). The latter also refers any file in the tar, i.e. including all.yaml
files. We should increase it to3
and rely on versions beyondv0.15
on that (1
~v0.13
,2
~v0.14
although the latter was never applied).manipulate
to act on Operator #292 : old ekos might be rotated (on any of the four axes) and we would need to counteract this everywhere ... any ideas? It is true that the old format and the new format are technical the same, but the content might notcc @scarlehoff
TODO:
Do the following things for this EKO object in the newest EKO version from master branch:
Do the following things for this EKO object in the newest EKO version from master branch:
Do the following things for this EKO object in the newest EKO version from master branch: