Skip to content
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

Fix potential TypeError in pypesto.result.optimize.OptimizerResult.summary if x0 is None #1266

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Jan 4, 2024

Previously, this would fail if full=False and x0=None (TypeError: 'NoneType' object is not subscriptable).

…0 is None

Previously, this would fail if full=False and x0=None (`TypeError: 'NoneType' object is not subscriptable
`).
@codecov-commenter
Copy link

codecov-commenter commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (781b9db) 78.51% compared to head (e4fcf68) 82.56%.

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

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1266      +/-   ##
===========================================
+ Coverage    78.51%   82.56%   +4.04%     
===========================================
  Files          148      148              
  Lines        12075    12075              
===========================================
+ Hits          9481     9970     +489     
+ Misses        2594     2105     -489     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dweindl dweindl merged commit bcfd618 into ICB-DCM:develop Jan 4, 2024
18 checks passed
@dweindl dweindl deleted the fix_summary branch January 4, 2024 13:21
This was referenced Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants