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

Skip to content

Add "verbose" level argument in "GridTiler.extract" method #228

@lorenz-gorini

Description

@lorenz-gorini

Is your feature request related to a problem? Please describe.
I am extracting tiles by using a GridTiler while looping over the slides from a SlideSet.
Therefore the GridTiler.extract method is printing many messages (~12000 per WSI) like:

Tile 998 saved: 8469_tile_998_level0_3245_12345_345_12445.png

This means that I am not able to read the messages that I print within my script (when reading a new WSI, when an error occurs, the extracted tile count, ...)

Describe the solution you'd like
I would love to be able to set the verbosity level of GridTiler.extract method in order for it to stop printing many messages that fill up the standard output.

Describe alternatives you've considered
I could also redirect the standard output to a log file while extracting tiles, but I should still look for the error messages

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions