Repository navigation
Replaced CollectionBase with EasyList #304 - #305
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## sampler-engine-structure-280 #305 +/- ##
================================================================
- Coverage 83.82% 83.64% -0.18%
================================================================
Files 68 68
Lines 5348 5253 -95
================================================================
- Hits 4483 4394 -89
+ Misses 865 859 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
damskii9992
left a comment
There was a problem hiding this comment.
Small comments only, otherwise it looks good to me.
| fit_objects: list | None = None, | ||
| fit_functions: list[Callable] | None = None, |
There was a problem hiding this comment.
Should this be typehinted as sequence, since we support any sequence?
There was a problem hiding this comment.
Yes. And more. We have to properly initialize fit_objects and fit_functions, otherwise the code will crash on the subsequent indexing... oops. Fixed.
There was a problem hiding this comment.
You still didn't change the typehint lol.
There was a problem hiding this comment.
What do you mean I didn't... I just did! Now.
|
I believe you can merge this one now, btw :) |
DescriptorBase now is a NewBase class
This pull request replaces the deprecated
CollectionBasecontainer with the newEasyListfor aggregating fit objects inMultiFitter.