Skip to content

Feature inversion pipeline for modular iCNN construction #101

Feature inversion pipeline for modular iCNN construction

Feature inversion pipeline for modular iCNN construction #101

Triggered via pull request January 4, 2024 04:46
Status Failure
Total duration 2m 23s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

39 errors and 6 warnings
lint
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#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.795114, 0.018649, 0.173327, 0.675427, 0.910672, 0.48638 , 0.794454, 0.486042, 0.066152, 0.363925])
test (3.8): tests/evals/test_metrics.py#L72
TestMetrics.test_2d FileNotFoundError: [Errno 2] No such file or directory: 'data/testdata-2d.pkl.gz'
test (3.8): tests/evals/test_metrics.py#L88
TestMetrics.test_2d_nan FileNotFoundError: [Errno 2] No such file or directory: 'data/testdata-2d-nan.pkl.gz'
test (3.8)
Process completed with exit code 1.
test (3.11): 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.11): 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.11): 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.11): 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.063535, 0.875505, 0.840169, 0.342782, 0.496637, 0.625246, 0.851203, 0.772181, 0.449949, 0.127396])
test (3.11): tests/evals/test_metrics.py#L72
TestMetrics.test_2d FileNotFoundError: [Errno 2] No such file or directory: 'data/testdata-2d.pkl.gz'
test (3.11): tests/evals/test_metrics.py#L88
TestMetrics.test_2d_nan FileNotFoundError: [Errno 2] No such file or directory: 'data/testdata-2d-nan.pkl.gz'
test (3.11)
Process completed with exit code 1.
test (3.10): 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.10): 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.10): 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.10): 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.803245, 0.539854, 0.271364, 0.414728, 0.848803, 0.304047, 0.700978, 0.21387 , 0.542468, 0.916834])
test (3.10): tests/evals/test_metrics.py#L72
TestMetrics.test_2d FileNotFoundError: [Errno 2] No such file or directory: 'data/testdata-2d.pkl.gz'
test (3.10): tests/evals/test_metrics.py#L88
TestMetrics.test_2d_nan FileNotFoundError: [Errno 2] No such file or directory: 'data/testdata-2d-nan.pkl.gz'
test (3.10)
Process completed with exit code 1.
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.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#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.130718, 0.333032, 0.043683, 0.434032, 0.379305, 0.301122, 0.959071, 0.340633, 0.267822, 0.820021])
test (3.9): tests/evals/test_metrics.py#L72
TestMetrics.test_2d FileNotFoundError: [Errno 2] No such file or directory: 'data/testdata-2d.pkl.gz'
test (3.9): tests/evals/test_metrics.py#L88
TestMetrics.test_2d_nan FileNotFoundError: [Errno 2] No such file or directory: 'data/testdata-2d-nan.pkl.gz'
test (3.9)
Process completed with exit code 1.
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