-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use tempdir during execution #172
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## cli #172 +/- ##
=======================================
Coverage 99.43% 99.43%
=======================================
Files 100 100
Lines 4586 4587 +1
=======================================
+ Hits 4560 4561 +1
Misses 26 26
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Ok, I completed the massive rework of the structure, now I have to fix all tests and polish everything. I will add the to-do list in the original message. |
Ok, now this implements also the changes that were scheduled for #160. I'm at the level of fixing tests. I'm not sure if I should target coverage in this PR though, I fear it'll become too big... |
15 + 8 tests still failing, I'm getting there... |
Since now we have open (with dir available) and closed (just a path) operators, a question arises. When we compute an EKO, should we return an open one (and leave the responsibility to close it to a user that never opened it), or a closed one (and the user has to load it to use)? |
Last 3 unit tests missing, but for them I will take slightly more, since I want to briefly rework the legacy output. In particular, I will drop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first batch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second batch before attempting the big ones
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a look to everything and with one read it seems fine ... depending on the urgency we can postpone
- documentation is still scarse
- tutorials are of course completely broken
to be definitely addressed before merging:
- recover LHA benchmark
Looks like now I'm in trouble with python versions: tests are passing on 3.10, but I used some syntax that was not available in 3.8. |
Tests are failing on py3.8 for a not very clear reason, I need further investigation, but passing on py3.9 and py3.10.
All coming from the same place: deserialization. But it is mystery why it fails only on that Python version, it would be useful to have py3.8 instance to debug, maybe I will do inside a container. I will try to debug first isolated benchmarks, they seem to be easier to solve, and failing also on recent versions :) |
None is still allowed, but it has to be passed explicitly
Just missing coverage, that I would postpone to a later PR. I'm ready to merge, and we are just 3 commits away from the 200 target :) |
Fine - then let's do it (of course you have the pleasure of the big green button 🙃 ). However, afterwards, we have to actually put some effort to cover the remaining 140 lines ...
and with d05ca84 there are only two left ... (the improved test fails indeed without the accompanying fix) |
The moment we merge
|
Yes, I will do that. BTW remember to revert all the |
I would just wait for @giacomomagni confirmation, and then merge.
@andreab1997 open a dedicated issue for the time being, and right after merging we will start the (hopefully small) PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay green light from my side.
We might need to updated something minor also in Yadism?
Eventually, yes (at least for computing predictions without PineAPPL). |
If I recall correctly we have already introduced |
You're right, and thanks for the offering. I would suggest to pretend it is working, and as soon as anyone find an issue, we will get back to you (or any of us) and ask to make it compatible. |
just to say that for sure we need to do some more adjustments for eko v0.12 e.g. here |
New implementation of #152, adapting some content from there.
eko/src/eko/output/struct.py
Lines 622 to 634 in 2077372
num_flavs_ref
andnum_flavs_max_as
inCouplings
structurelambergrid
name Use tempdir during execution #172 (comment)num_flavs_max_as
to a less redundant one Use tempdir during execution #172 (comment)