Make pineappl evolve support EKO v0.15#350
Conversation
|
The current issue when running the code is that it raises the following error: Error: no operator for x = 0.00020843298688247308 foundI believe this is because the following: pineappl/pineappl_cli/src/evolve.rs Line 376 in 5a68926 should actually be |
|
Depends on what |
There is now one
At which stage/where in the |
|
I always had to load the EKO in Python, reinterpolate it for the given x-grid, store it, and only that operator is usable with the CLI. I'll try find my Pyrhon script later this evening. |
|
Ah, I see! If you could provide me with the Python script, that'd be really great! Then I can re-interpolate the EKO, re-upload it, and add a test. |
|
I pushed it to master, hopefully it still works. You may want to change the hardcoded paths, though. |
Thanks! Unfortunately, the script doesn't work anymore with new EKO versions. I opened an issue here: NNPDF/eko#472 Once a fix is provided, I will fix the script in |
Do we need that backwards compatibility? If not there's no need to make it more complicated. |
|
This is now done! The test is failing because the data cache have not been updated. I would prefer to do so after #344 is merged because that PR also unifies the caching action in one place, otherwise there will be some conflicts. So if you are fine with that PR, I will merge that first. PS: I have update the Python script in master. |
cschwan
left a comment
There was a problem hiding this comment.
The only missing bit is an entry in CHANGELOG.md, after that feel free to merge!
| V0(MetadataV0), | ||
| V1(MetadataV1), | ||
| V2(MetadataV2), | ||
| V3(MetadataV3), // v0.15 - v???? |
There was a problem hiding this comment.
actually: this would hopefully correspond to __data_version__ = 3, rather then the API version v0.15, so in the end I think it is a good name 😇
As the title says,
pineappl evolvedoes not work with EKO v0.15 because of a change in format. Examples of a grid and an EKO (LHCB_WP_8TEV.*) have been uploaded in the usual place on the server.