ICB-DCM / pyPESTO

python Parameter EStimation TOolbox
https://pypesto.readthedocs.io
BSD 3-Clause "New" or "Revised" License
207 stars 45 forks source link

Ensembles: don't expect `OptimizerResult.id` to be convertible to `int` #1351

Closed dweindl closed 3 months ago

dweindl commented 3 months ago

Fixes Ensemble.from_optimization_{history,endpoints}, which incorrectly assumed that OptimizerResult.id is always convertible to int.

Closes #1349.

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.03%. Comparing base (ace9b8b) to head (e6e45d3).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1351 +/- ## =========================================== - Coverage 84.22% 83.03% -1.20% =========================================== Files 157 157 Lines 12870 12870 =========================================== - Hits 10840 10686 -154 - Misses 2030 2184 +154 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.