Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nipeone
Copy link
Contributor

@nipeone nipeone commented Jan 6, 2022

Description

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@alessiamarcolini
Copy link
Collaborator

Hi @nipeone, congrats on your first contribution to Histolab 🎉

but if i create new PR,need i create unit test about this issue?

For this issue, an integration test would be better. Please note that we are testing the Tilers using the locate_tiles method (better to visualize, easier to test) https://github.com/histolab/histolab/blob/master/tests/integration/test_tiler.py#L331
So you could write a new test using only 1 or 2 fixtures following the test structure of it_locates_tiles_on_the_slide and changing the value of the parameter pixel_overlap.

Of course, if you need guidance on this we are here ❤️

Alessia

@alessiamarcolini alessiamarcolini linked an issue Jan 6, 2022 that may be closed by this pull request
@alessiamarcolini alessiamarcolini added the bug Something isn't working label Jan 6, 2022
@nipeone
Copy link
Contributor Author

nipeone commented Jan 7, 2022

so sad,it's a little hard to me add integration test in test_tiler.py, i have tried.

1 similar comment
@nipeone
Copy link
Contributor Author

nipeone commented Jan 7, 2022

so sad,it's a little hard to me add integration test in test_tiler.py, i have tried.

@alessiamarcolini
Copy link
Collaborator

Hey @nipeone, I added the missing integration test, no problem.

@ernestoarbitrio however, this PR will fail again for the same reason as #371

@ernestoarbitrio ernestoarbitrio added this to the 0.5.0 milestone Jan 18, 2022
@ernestoarbitrio
Copy link
Member

Hey @nipeone, I added the missing integration test, no problem.

@ernestoarbitrio however, this PR will fail again for the same reason as #371

now it should be ok

@codecov
Copy link

codecov bot commented Jan 18, 2022

Codecov Report

Merging #372 (360bdb2) into master (b71a1c6) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #372   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         1411      1411           
  Branches       218       218           
=========================================
  Hits          1411      1411           
Impacted Files Coverage Δ
histolab/tiler.py 100.00% <ø> (ø)

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 fa32c58...360bdb2. Read the comment docs.

@ernestoarbitrio ernestoarbitrio merged commit 3be9635 into histolab:master Jan 18, 2022
@nipeone
Copy link
Contributor Author

nipeone commented Jan 19, 2022

Hey @nipeone, I added the missing integration test, no problem.

@ernestoarbitrio however, this PR will fail again for the same reason as #371
that's great!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pixel_overlap not work in GridTiler

3 participants