Borda / pyGCO

A python wrapper for gco-v3.0 package, used for graph cuts based MRF optimization.
http://vision.csd.uwo.ca/code
61 stars 18 forks source link

patch `numpy` classes & CI concurrency #30

Closed Borda closed 1 year ago

Borda commented 1 year ago

Before submitting

What does this PR do?

Fixes compatibility with numpy 1.24+

PR review

Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

codecov[bot] commented 1 year ago

Codecov Report

Merging #30 (19b08da) into master (af83b98) will increase coverage by 0.22%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Borda/pyGCO/pull/30/graphs/tree.svg?width=650&height=150&src=pr&token=M0sYKXuzYt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec)](https://app.codecov.io/gh/Borda/pyGCO/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec) ```diff @@ Coverage Diff @@ ## master #30 +/- ## ========================================== + Coverage 82.88% 83.11% +0.22% ========================================== Files 3 3 Lines 298 302 +4 ========================================== + Hits 247 251 +4 Misses 51 51 ``` | Flag | Coverage Δ | | |---|---|---| | pytest | `83.11% <100.00%> (+0.22%)` | :arrow_up: | | python2.7 | `81.45% <75.00%> (?)` | | | python3.10 | `83.11% <100.00%> (?)` | | | python3.6 | `82.78% <75.00%> (-0.11%)` | :arrow_down: | | python3.8 | `83.11% <100.00%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/Borda/pyGCO/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec) | Coverage Δ | | |---|---|---| | [gco/\_\_init\_\_.py](https://app.codecov.io/gh/Borda/pyGCO/pull/30?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec#diff-Z2NvL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/Borda/pyGCO/pull/30?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/Borda/pyGCO/pull/30?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec). Last update [af83b98...19b08da](https://app.codecov.io/gh/Borda/pyGCO/pull/30?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec).