ANTsX / ANTsPy

A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more.
https://antspyx.readthedocs.io
Apache License 2.0
629 stars 161 forks source link

ENH: Update coveralls version #592

Closed cookpa closed 6 months ago

cookpa commented 6 months ago

Bumping the version, hoping to avoid coverage errors.

On coveralls.io, docstrings are being interpreted as uncovered code. This seems to only be a problem on multi-line function definitions.

https://coveralls.io/builds/66464549/source?filename=home%2Frunner%2F.local%2Flib%2Fpython3.10%2Fsite-packages%2Fants%2Fsegmentation%2Fatropos.py

I don't see this issue on my local machine if I run the tests

cookpa commented 6 months ago

Didn't help, it's still counting docstrings. Doesn't happen on my mac with the same coverage version (7.4.4).

ncullen93 commented 6 months ago

Ah weird... is a docstring supposed to be a ' instead of " ? Maybe that will help.

cookpa commented 6 months ago

I think they are supposed to be double quotes - I might try exporting the coverage results to XML

cookpa commented 6 months ago

OK XML worked. It looks correct now