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

struct: move source to `src/` #32

Closed Borda closed 1 year ago

Borda commented 1 year ago

Before submitting

What does this PR do?

Update the structure to have the source in src/ folder and all tests in tests/

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 #32 (6a434df) into master (ac32ed1) will not change coverage. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Borda/pyGCO/pull/32/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/32?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 #32 +/- ## ======================================= Coverage 82.88% 82.88% ======================================= Files 3 3 Lines 298 298 ======================================= Hits 247 247 Misses 51 51 ``` | Flag | Coverage Δ | | |---|---|---| | pytest | `82.88% <ø> (ø)` | | | python2.7 | `81.20% <ø> (ø)` | | | python3.10 | `82.88% <ø> (ø)` | | | python3.11 | `82.88% <ø> (?)` | | | python3.6 | `82.55% <ø> (ø)` | | | python3.8 | `82.88% <ø> (ø)` | | 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/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec) | Coverage Δ | | |---|---|---| | [src/gco/\_\_init\_\_.py](https://app.codecov.io/gh/Borda/pyGCO/pull/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec#diff-c3JjL2djby9fX2luaXRfXy5weQ==) | `100.00% <ø> (ø)` | | | [src/gco/cgco.py](https://app.codecov.io/gh/Borda/pyGCO/pull/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec#diff-c3JjL2djby9jZ2NvLnB5) | `97.01% <ø> (ø)` | | | [src/gco/pygco.py](https://app.codecov.io/gh/Borda/pyGCO/pull/32?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec#diff-c3JjL2djby9weWdjby5weQ==) | `77.82% <ø> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/Borda/pyGCO/pull/32?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/32?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jirka+Borovec). Last update [ac32ed1...6a434df](https://app.codecov.io/gh/Borda/pyGCO/pull/32?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).