Upgrade to PineAPPL v1#206
Conversation
|
When this is working I suggest you also try to implement #183 - this should decrease the time and space needed to perform an evolution. Also the required changes should be minimal. |
Thanks for letting me know about this! I will surely do once this is working indeed. |
db39b0b to
9e2620a
Compare
There was a problem hiding this comment.
Looks great to me. Some really minor comments:
- Just a small question: why
key_valuesare still around and now we don't have just metadata ? Why the theory card is still saved tokey_values?
pineko/src/pineko/scale_variations.py
Lines 238 to 240 in e8d7282
- I did not check, I'm able to produce a real FKtable myself.
Indeed, it should be |
|
Thanks a lot @giacomomagni for the review! I will address them once I am in front of a computer this afternoon.
Some of these |
1052e70 to
cfe229c
Compare
giacomomagni
left a comment
There was a problem hiding this comment.
As long as it works it's good for me!
Perfect, thanks! Let's wait for #215 and we can test it here. |
|
Everything here is now done! The only thing missing here is the stable version of PineAPPL; as soon as that is available we can bump the version here and merge. |
|
Hi @Radonirinaunimi one request before merging this (and I think it is better to do it here since it changes in 1.0), could we ensure that all metadata from the original grid is propagated to the fktable? |
Yes! In principle this should be the case but I will explicitly double-check. |
|
Great! (just to say, I didn't check it wasn't the case, I was looking at the changes and realized that in the scale_variations.py the propagation is explicit but I couldn't find in the evolve, but perhaps I just missed it, too many changes) |
Sorry, I missed to reply to this earlier. The metadata are always automatically propagated into the FK tables. Scale varied grids/FK tables are created from new instances so that's why it is needed to manually copy the metadata. |
felixhekhorn
left a comment
There was a problem hiding this comment.
I didn't read the big evolve.py and theory.py (yet), but I found a stupid typo
This PR tests the new Python interface of the upcoming PineAPPL
v1. There are a few notable changes affectingpinekodirectly:convolutionsattributes. These information are no longer determined from the metadata (address the shortcomings discussed in Bump pineappl version nnpdf#2129 (comment) and Allow evolution and convolution with different ekos for a single grid #181 (comment)).operator1andoperator2in favor of justoperators.pdf1andpdf2in favor ofpdfs.xia.The only remaining thing for which we will still require an ad-hoc hack/tweak is the checks that the PDFs are ordered according to the type of convolutions. This is an LHAPDF problem so there isn't much that we can do.
This will deprecate #192.
Remaining to do: