Dana-Farber-AIOS / pathml
Showing 1 of 1 files from the diff.

@@ -379,6 +379,12 @@
Loading
379 379
        Returns:
380 380
            np.ndarray: image at the specified region
381 381
        """
382 +
        if self.slide is None:
383 +
            raise ValueError(
384 +
                "Cannot call `.extract_region()` because no slide is specified. "
385 +
                "If already tiled, access `.tiles` directly instead"
386 +
            )
387 +
382 388
        return self.slide.extract_region(location, size, *args, **kwargs)
383 389
384 390
    def generate_tiles(self, shape=3000, stride=None, pad=False, **kwargs):
Files Coverage
pathml 86.45%
Project Totals (27 files) 86.45%
codecov-umbrella
Build #2558066473 -
PYTHON=undefined
OS=undefined
codecov-umbrella
Build #2558066473 -
PYTHON=undefined
OS=undefined

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading