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

121 increase test coverage #122

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

Pablo1990
Copy link
Contributor

Added two new tests for the 2nd channel. It should have gone up the coverage, but I'm checking that as well.

@Pablo1990 Pablo1990 linked an issue Aug 11, 2023 that may be closed by this pull request
@Pablo1990 Pablo1990 self-assigned this Aug 11, 2023
@Pablo1990 Pablo1990 added the enhancement New feature or request label Aug 11, 2023
@Pablo1990
Copy link
Contributor Author

61% still T.T

@Pablo1990
Copy link
Contributor Author

py310-linux: commands[1]> coverage report
Name                                       Stmts   Miss Branch BrPart  Cover
----------------------------------------------------------------------------
src/epitools/_writer.py                       56     56     22      0     0%
src/epitools/analysis/cell_statistics.py      45     30     16      1    26%
src/epitools/main.py                         137     71     46      5    44%
src/epitools/_reader.py                       25      8      6      1    65%
src/epitools/_sample_data.py                  33      3      4      1    89%
src/epitools/analysis/projection.py           56      2     10      2    94%
src/epitools/analysis/segmentation.py         37      1     10      1    96%
----------------------------------------------------------------------------
TOTAL                                        507    171    114     11    60%

@Pablo1990
Copy link
Contributor Author

Name                                       Stmts   Miss Branch BrPart  Cover
----------------------------------------------------------------------------
src/epitools/analysis/cell_statistics.py      45     30     16      1    26%
src/epitools/main.py                         137     71     46      5    44%
src/epitools/_writer.py                       58     24     26      7    49%
src/epitools/_reader.py                       25      8      6      1    65%
src/epitools/_sample_data.py                  33      3      4      1    89%
src/epitools/analysis/projection.py           56      2     10      2    94%
src/epitools/analysis/segmentation.py         37      1     10      1    96%
----------------------------------------------------------------------------
TOTAL                                        509    139    118     18    66%

@Pablo1990
Copy link
Contributor Author

I'll leave it like this and, then, we'll tackle cell_statistics

@Pablo1990 Pablo1990 marked this pull request as ready for review August 15, 2023 10:39
@Pablo1990 Pablo1990 enabled auto-merge (squash) August 31, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase test coverage
1 participant