+
Skip to content

add conversion level - magnification factor, when possible #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Sep 22, 2021

Conversation

nicolebussola
Copy link
Collaborator

Address Issue #294

@nicolebussola nicolebussola linked an issue Sep 20, 2021 that may be closed by this pull request
Copy link
Member

@ernestoarbitrio ernestoarbitrio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

per comments

@codecov
Copy link

codecov bot commented Sep 20, 2021

Codecov Report

Merging #319 (a7ca2f0) into master (7bbdefb) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #319   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         1294      1307   +13     
  Branches       124       127    +3     
=========================================
+ Hits          1294      1307   +13     
Impacted Files Coverage Δ
src/histolab/exceptions.py 100.00% <100.00%> (ø)
src/histolab/slide.py 100.00% <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 7bbdefb...a7ca2f0. Read the comment docs.

Copy link
Collaborator

@alessiamarcolini alessiamarcolini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now the tests that are included are ok.

However, since the integration test it_knows_its_magnification_factors is basically run only on CI, I would add:

  • a test case for that method to use the local cmu-1-small-region.svs
  • two unit tests using a fake svs and mocking properties property to include or not "openslide.objective-power" and "f"openslide.level[{level}].downsample" to better control the flow. Let's try to have 100% coverage on the new modifications without the help of the integration tests

@alessiamarcolini alessiamarcolini added the enhancement New feature or request label Sep 20, 2021
Copy link
Collaborator

@alessiamarcolini alessiamarcolini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alessiamarcolini alessiamarcolini added this to the 0.2.7 milestone Sep 22, 2021
Copy link
Member

@ernestoarbitrio ernestoarbitrio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but let's see if you can address the minor comment I just wrote

Copy link
Member

@ernestoarbitrio ernestoarbitrio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM well done 👯

@nicolebussola nicolebussola merged commit 06bd9cf into master Sep 22, 2021
@nicolebussola nicolebussola deleted the magnification_factor branch September 22, 2021 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add conversion level-magnification
3 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载