fepegar / torchio
Showing 1 of 1 files from the diff.

@@ -420,7 +420,7 @@
Loading
420 420
            raise TypeError(f'Affine must be a NumPy array, not {type(affine)}')
421 421
        if affine.shape != (4, 4):
422 422
            raise ValueError(f'Affine shape must be (4, 4), not {affine.shape}')
423 -
        return affine
423 +
        return affine.astype(np.float64)
424 424
425 425
    def load(self) -> None:
426 426
        r"""Load the image from disk.
Files Coverage
tests 99.76%
torchio 86.57%
print_system.py 0.00%
Project Totals (132 files) 90.55%
1882.2
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
1882.3
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
1882.1
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
1
ignore:
2
  - "setup.py"
3
  - "torchio/external/due.py"
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