Skip to content

Better error catching in evolution - #193

Merged
caglorithm merged 1 commit into
masterfrom
feature/evolution_error_catching
Mar 22, 2022
Merged

caglorithm merged 1 commit into
masterfrom
feature/evolution_error_catching

Conversation

@jajcayn

@jajcayn jajcayn commented Mar 4, 2022

Copy link
Copy Markdown
Collaborator

simply wrap evalFunction in try - except block and log any exceptions

@codecov

codecov Bot commented Mar 4, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #193 (bbcd08e) into master (4cf8b48) will decrease coverage by 0.06%.
The diff coverage is 72.73%.

@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
- Coverage   95.03%   94.97%   -0.06%     
==========================================
  Files          50       50              
  Lines        4387     4394       +7     
==========================================
+ Hits         4169     4173       +4     
- Misses        218      221       +3     
Flag Coverage Δ
unittests 94.97% <72.73%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
neurolib/optimize/evolution/evolution.py 92.06% <72.73%> (-0.66%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4cf8b48...bbcd08e. Read the comment docs.

@caglorithm
caglorithm force-pushed the feature/evolution_error_catching branch from bdae08a to 18016d6 Compare March 22, 2022 17:41
@caglorithm
caglorithm force-pushed the feature/evolution_error_catching branch from 18016d6 to bbcd08e Compare March 22, 2022 19:19
@caglorithm
caglorithm merged commit eda9b5f into master Mar 22, 2022
@caglorithm
caglorithm deleted the feature/evolution_error_catching branch March 22, 2022 22:25
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.

2 participants