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

SacessOptimizer: avoid FileNotFoundError if run with ridiculously low… #1177

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Nov 16, 2023

… walltime limit

It was possible that SacessOptimizer would quit before even starting the first iteration if a tiny walltime limit is set. This led to a FileNotFoundError when trying to collect the temporary results. Fixed here by starting at least one iteration.

Closes #1172

… walltime limit

It was possible that SacessOptimizer would quit before even starting the first
iteration if a tiny walltime limit is set. This led to a FileNotFoundError when
trying to collect the temporary results. Fixed here by starting at least one
iteration.

Closes ICB-DCM#1172
@codecov-commenter
Copy link

codecov-commenter commented Nov 16, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (f944d3c) 84.28% compared to head (747609c) 82.91%.

Files Patch % Lines
pypesto/optimize/ess/sacess.py 0.00% 1 Missing ⚠️

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

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1177      +/-   ##
===========================================
- Coverage    84.28%   82.91%   -1.37%     
===========================================
  Files          148      148              
  Lines        11693    11693              
===========================================
- Hits          9855     9695     -160     
- Misses        1838     1998     +160     

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

@dweindl dweindl merged commit c951d17 into ICB-DCM:develop Nov 17, 2023
18 checks passed
@dweindl dweindl deleted the fix_1172 branch November 17, 2023 11:23
@dweindl dweindl linked an issue Nov 20, 2023 that may be closed by this pull request
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.

SacessOptimizer: FileNotFoundError when setting a tiny walltime limit
3 participants