machine-shop / mothra

Automated butterfly wing length measurement
Other
27 stars 15 forks source link

Changing `PosixPath` to `WindowsPath` when on Windows #98

Closed alexdesiqueira closed 2 years ago

alexdesiqueira commented 2 years ago

Replaces solution on #96, based on gdenes355/mothra-win#7f7fccd and Tiffany Ki's feedback.

Solves #86.

codecov-commenter commented 2 years ago

Codecov Report

Merging #98 (1593b38) into main (f8cba0b) will decrease coverage by 10.91%. The diff coverage is 50.00%.

@@             Coverage Diff             @@
##             main      #98       +/-   ##
===========================================
- Coverage   81.50%   70.58%   -10.92%     
===========================================
  Files          17        9        -8     
  Lines         719      459      -260     
===========================================
- Hits          586      324      -262     
- Misses        133      135        +2     
Impacted Files Coverage Δ
mothra/misc.py 61.72% <50.00%> (-0.94%) :arrow_down:
mothra/tests/test_measurement.py
mothra/tests/test_binarization.py
mothra/tests/test_misc.py
mothra/tests/test_tracing.py
mothra/tests/test_writing.py
mothra/tests/test_pipeline.py
mothra/tests/test_ruler_detection.py
mothra/tests/test_plotting.py

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 f8cba0b...1593b38. Read the comment docs.