Add photon#1643
Conversation
|
Should this already be reviewed (after fixing the comput_photon path)? |
Hi @RoyStegeman, no it is not ready. i opened the pull request so that me @alecandido @scarlehoff and whoever is interested can discuss on its implementation. |
|
That's what I assumed, thanks |
|
Have a look at #1644 and rebase this branch on top of that one (or even copy the changes you want on top of that one). In that one you have the xgrid before creating the model. |
RoyStegeman
left a comment
There was a problem hiding this comment.
I left a few comments here and there. In general I would recommend to keep your code a bit cleaner, even if the intention is just to prototype instead of creating a final product. That helps us since it's easier to read and yourself in the end as well.
|
But yes on my part it's fine to run black and isort on all files, I think I've asked enough for one PR ;) |
Since we agreed that the tests will be revisited in the future with a "theory 398" with a smallish photon I didn't double down on them but I stand by my previous review of those. Let me link here two comments that should be dealt with:
But I think it would be easier (and less overwhelming for @niclaurenti, this is already gigantic as it is) to do that after merging the code.
It would. Maybe a few lines here https://docs.nnpdf.science/n3fit/runcard_detailed.html detailing the |
For symmetry reasons with MHOU fits I think it makes more sense to put a section "how to do a qed fit" under "tutorials" |
|
@niclaurenti I think you ran black and isort using the default settings instead of those in Please revert the last commit and rerun with those settings |
|
Greetings from your nice fit 🤖 !
Check the report carefully, and please buy me a ☕ , or better, a GPU 😉! |
Co-authored-by: Roy Stegeman <roystegeman@live.nl>
|
It seems that you forgot to update the test in the max_q2 commit. Once that is done we can merge this. (I've moved the point about theory 398 to this issue #1735. Since I'll have more time next week I'll see about creating the small ekos to test the lhapdf info files as well) |
|
@niclaurenti please fix also this other nnpdf/n3fit/src/evolven3fit_new/evolve.py Line 71 in af6dc83 Here you just need to remove |
Co-authored-by: Alessandro Candido <candido.ale@gmail.com>
fiatluxto conda recipeekoto conda recipeblackandisortusingpyproject.tomlfrom master