-
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
EntitiesList update #163
EntitiesList update #163
Conversation
Codecov Report
@@ Coverage Diff @@
## master #163 +/- ##
==========================================
+ Coverage 70.02% 70.17% +0.14%
==========================================
Files 18 18
Lines 2045 2025 -20
Branches 144 147 +3
==========================================
- Hits 1432 1421 -11
+ Misses 469 457 -12
- Partials 144 147 +3
Continue to review full report at Codecov.
|
Alright, this has been a more substantial PR than I anticipated. I significantly changed the EntitiesList API, which is needed to harmonise usage with Implementation-wise, I should add that I make quite heavy use of the There is now a new feature in |
Ok! Cool! This is a frighteningly big PR affecting the heart of trident. Before I start the review I have some general shower thoughts:
|
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 found it difficult to review that. Hard to grasp the ramification of every change. I like a lot of the changes and left some minor comments on the aspects I don't.
I did not test the new build yet.
Yes, I apologise for the substantial changes. I think it may be easiest to just go through I also think that in cases such as this, our Golden Tests are just awesome. They are the true guarantee that we haven't screwed something up. |
OK, there is another problem I've realised. Right now, entities are read both from the CLI (
But that of course may have unintended consequences given the new order-dependency. My radical suggestion: Simplify the CLI-API to either an ordered signed entity list given via the command line, or via a single file. So do not allow multiple files, do not allow both CLI and file input. In my view, there is hardly a use-case for either multiple entity files or both CLI input and files, so I don't think this will harm anyone. I'm happy to make that change, but wanted to quickly check with you. |
(and I've also now changed the behaviour of |
Ja - ok. I see how this can easily become confusing. Go for it. 👍 |
…tySpec indInfoConformsToEntitySpec
Alright - I'm waiting for your OK now to run some practical tests with the new interface. |
…ich then also needed some tweaking to be useful for both forge and genoconvert (with and without default)
Ok - I ran some tests and I think I found somethings that may be a bug - or at least unexpected behaviour. I tested this with a clone of the published_data repository. This works fine:
But excluding the same package has an unforeseen effect:
So we seem to get the right selection, but with a confusing error message:
When I first read this, I was convinced I must have made a typo in the package name. This seems to happen only if the first entry in the list is an |
When practically working with this version, I also find the |
All good points. I'm on it. |
I think it should be fixed now. |
Safe for a small adjustment of the documentation on the website this good to go, imho. |
OK, I'll merge this then and adjust the documentation |
Adresses #161 and implements some stuff needed for
poseidon-analysis-hs
.