+
Skip to content

Finer control of locate_tiles #304

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 17 commits into from
Aug 12, 2021
Merged

Conversation

kheffah
Copy link
Collaborator

@kheffah kheffah commented Jul 26, 2021

Finer control of locate_tiles including

  1. Allowing user to pass tiless to avoid re-extraction
  2. Passing individual colors to specific tiles (eg to emphasize specific regions of interest).

Types of Changes

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

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).

@codecov
Copy link

codecov bot commented Jul 26, 2021

Codecov Report

Merging #304 (34ec1a4) into master (ffd63f3) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #304   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         1251      1264   +13     
  Branches       118       124    +6     
=========================================
+ Hits          1251      1264   +13     
Impacted Files Coverage Δ
src/histolab/tiler.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 ffd63f3...34ec1a4. Read the comment docs.

@alessiamarcolini
Copy link
Collaborator

Hey @kheffah thanks for this PR!! First of all, could you split this commit into 3 separate commits?

@alessiamarcolini alessiamarcolini added the enhancement New feature or request label Jul 26, 2021
@kheffah
Copy link
Collaborator Author

kheffah commented Jul 26, 2021

@alessiamarcolini All done :)

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.

@kheffah thanks for this contribution. That's great. Just a couple of comments

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, please let me know if something is not clear enough

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.

I think we're close. Could you address my last comments please :D

@ernestoarbitrio ernestoarbitrio added this to the 0.2.7 milestone Aug 9, 2021
@alessiamarcolini alessiamarcolini self-requested a review August 10, 2021 08:20
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.

some stylistic changes + unit test code shouldn't have conditionals (see comments)

kheffah and others added 3 commits August 11, 2021 16:22
shorter line in DescribeRandomTiler

shorter line in DescribeRandomTiler
Co-authored-by: Alessia Marcolini <98marcolini@gmail.com>
@alessiamarcolini alessiamarcolini merged commit 86db1a1 into master Aug 12, 2021
@ernestoarbitrio ernestoarbitrio deleted the flexible-locate-tiles branch August 12, 2021 13:51
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.

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