Feature inversion pipeline for modular iCNN construction #81
ci.yml
on: pull_request
lint
6s
type-check
2m 10s
Matrix: test
Annotations
33 errors and 10 warnings
lint
Process completed with exit code 1.
|
test (3.11)
Process completed with exit code 1.
|
test (3.10)
Process completed with exit code 1.
|
test (3.8):
tests/test_mri.py#L23
TestMri.test_add_load_epi_pass0001
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/bdpy/bdpy/tests/data/mri/epi.mat'
|
test (3.8):
tests/test_mri.py#L23
TestMri.test_get_roiflag_pass0001
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/bdpy/bdpy/tests/data/mri/epi.mat'
|
test (3.8):
tests/test_mri.py#L23
TestMri.test_get_roiflag_pass0002
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/bdpy/bdpy/tests/data/mri/epi.mat'
|
test (3.8):
tests/bdata/test_bdata.py#L31
TestBdata.test_add_get
AssertionError:
Arrays are not equal
(shapes (5, 0, 38), (5, 10) mismatch)
x: array([], shape=(5, 0, 38), dtype=float64)
y: array([[0.430542, 0.699451, 0.043492, 0.17705 , 0.217463, 0.23759 ,
0.265128, 0.695457, 0.98976 , 0.440057],
[0.884306, 0.771298, 0.194711, 0.318318, 0.961396, 0.07854 ,...
|
test (3.8):
tests/bdata/test_bdata.py#L88
TestBdata.test_metadata_add_get_where
AssertionError:
Arrays are not equal
(shapes (0, 18), (10,) mismatch)
x: array([], shape=(0, 18), dtype=float64)
y: array([0.873767, 0.772524, 0.996547, 0.363054, 0.742513, 0.602915,
0.415205, 0.284244, 0.851625, 0.528764])
|
test (3.8):
tests/bdata/test_bdata.py#L126
TestBdata.test_select
AssertionError:
Arrays are not equal
(shapes (5, 0, 15), (5, 10) mismatch)
x: array([], shape=(5, 0, 15), dtype=float64)
y: array([[0.461736, 0.495104, 0.843242, 0.10285 , 0.730485, 0.511227,
0.697621, 0.117055, 0.019306, 0.718284],
[0.059971, 0.266086, 0.524055, 0.442478, 0.97053 , 0.983642,...
|
test (3.8):
tests/bdata/test_bdata.py#L154
TestBdata.test_vmap_add_get
AssertionError: assert {} == {1: 'label-1'... 4: 'label-4'}
Right contains 4 more items:
{1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
Full diff:
- {1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
+ {}
|
test (3.8):
tests/bdata/test_bdata.py#L164
TestBdata.test_vmap_add_insufficient_vmap
AssertionError: ValueError not raised
|
test (3.8):
tests/bdata/test_bdata.py#L172
TestBdata.test_vmap_add_same_map
AssertionError: assert {} == {1: 'label-1'... 4: 'label-4'}
Right contains 4 more items:
{1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
Full diff:
- {1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
+ {}
|
test (3.8):
tests/bdata/test_bdata.py#L224
TestBdata.test_vmap_add_unnecessary_vmap
AssertionError: assert {} == {1: 'label-1'... 4: 'label-4'}
Right contains 4 more items:
{1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
Full diff:
- {1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
+ {}
|
test (3.9):
tests/test_mri.py#L23
TestMri.test_add_load_epi_pass0001
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/bdpy/bdpy/tests/data/mri/epi.mat'
|
test (3.9):
tests/test_mri.py#L23
TestMri.test_get_roiflag_pass0001
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/bdpy/bdpy/tests/data/mri/epi.mat'
|
test (3.9):
tests/test_mri.py#L23
TestMri.test_get_roiflag_pass0002
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/bdpy/bdpy/tests/data/mri/epi.mat'
|
test (3.9):
tests/bdata/test_bdata.py#L31
TestBdata.test_add_get
AssertionError:
Arrays are not equal
(shapes (5, 0, 38), (5, 10) mismatch)
x: array([], shape=(5, 0, 38), dtype=float64)
y: array([[0.96749 , 0.910996, 0.367626, 0.270807, 0.608638, 0.382906,
0.588558, 0.722856, 0.522649, 0.08966 ],
[0.186986, 0.083486, 0.293062, 0.588768, 0.916045, 0.222145,...
|
test (3.9):
tests/bdata/test_bdata.py#L88
TestBdata.test_metadata_add_get_where
AssertionError:
Arrays are not equal
(shapes (0, 18), (10,) mismatch)
x: array([], shape=(0, 18), dtype=float64)
y: array([0.217151, 0.929589, 0.19207 , 0.150674, 0.637091, 0.509708,
0.957482, 0.811838, 0.948912, 0.245271])
|
test (3.9):
tests/bdata/test_bdata.py#L126
TestBdata.test_select
AssertionError:
Arrays are not equal
(shapes (5, 0, 15), (5, 10) mismatch)
x: array([], shape=(5, 0, 15), dtype=float64)
y: array([[0.430254, 0.965605, 0.853656, 0.259157, 0.154206, 0.230704,
0.958884, 0.810457, 0.243955, 0.996726],
[0.882068, 0.802218, 0.542435, 0.361309, 0.143489, 0.662758,...
|
test (3.9):
tests/bdata/test_bdata.py#L154
TestBdata.test_vmap_add_get
AssertionError: assert {} == {1: 'label-1'... 4: 'label-4'}
Right contains 4 more items:
{1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
Full diff:
- {1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
+ {}
|
test (3.9):
tests/bdata/test_bdata.py#L163
TestBdata.test_vmap_add_insufficient_vmap
AssertionError: ValueError not raised
|
test (3.9):
tests/bdata/test_bdata.py#L172
TestBdata.test_vmap_add_same_map
AssertionError: assert {} == {1: 'label-1'... 4: 'label-4'}
Right contains 4 more items:
{1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
Full diff:
- {1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
+ {}
|
test (3.9):
tests/bdata/test_bdata.py#L224
TestBdata.test_vmap_add_unnecessary_vmap
AssertionError: assert {} == {1: 'label-1'... 4: 'label-4'}
Right contains 4 more items:
{1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
Full diff:
- {1: 'label-1', 2: 'label-2', 3: 'label-3', 4: 'label-4'}
+ {}
|
Error code: `import-untyped`:
bdpy/fig/tile_images.py#L4
Library stubs not installed for "PIL"
|
Error code: `import-untyped`:
bdpy/fig/tile_images.py#L5
Skipping analyzing "matplotlib.pyplot": module is installed, but missing library stubs or py.typed marker
|
Error code: `import-untyped`:
bdpy/fig/tile_images.py#L5
Skipping analyzing "matplotlib": module is installed, but missing library stubs or py.typed marker
|
Error code: `import-untyped`:
bdpy/fig/tile_images.py#L6
Skipping analyzing "matplotlib.gridspec": module is installed, but missing library stubs or py.typed marker
|
Error code: `import-untyped`:
bdpy/util/info.py#L13
Library stubs not installed for "yaml"
|
Error code: `arg-type`:
bdpy/util/info.py#L24
Argument 1 to "md5" has incompatible type "str"; expected "Buffer"
|
Error code: `var-annotated`:
bdpy/util/utils.py#L48
Need type annotation for "group_vector" (hint: "group_vector: List[<type>] = ...")
|
Error code: `assignment`:
bdpy/util/utils.py#L64
Incompatible types in assignment (expression has type "ndarray[Any, dtype[Any]]", variable has type "List[Any]")
|
Error code: `union-attr`:
bdpy/util/utils.py#L118
Item "List[Any]" of "Union[List[Any], ndarray[Any, Any]]" has no attribute "ndim"
|
Error code: `call-overload`:
bdpy/util/utils.py#L119
No overload variant of "__getitem__" of "list" matches argument type "List[Any]"
|
test (3.11)
File "/home/runner/work/bdpy/bdpy/pytest-coverage.txt" doesn't exist
|
test (3.11)
File "/home/runner/work/bdpy/bdpy/pytest.yml" doesn't exist
|
test (3.10)
File "/home/runner/work/bdpy/bdpy/pytest-coverage.txt" doesn't exist
|
test (3.10)
File "/home/runner/work/bdpy/bdpy/pytest.yml" doesn't exist
|
type-check:
bdpy/util/utils.py#L119
Possible overload variants:
|
type-check:
bdpy/util/utils.py#L121
Possible overload variants:
|
type-check:
bdpy/dataset/utils.py#L11
Hint: "python3 -m pip install types-tqdm"
|
type-check:
bdpy/dataset/utils.py#L11
(or run "mypy --install-types" to install all missing stub packages)
|
type-check:
bdpy/dataset/utils.py#L11
See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
|
Error code: `annotation-unchecked`:
bdpy/dataform/features.py#L382
By default the bodies of untyped functions are not checked, consider using --check-untyped-defs
|