You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently xarray is kept at version 2023.8 as newer versions introduce errors in testing.
Steps/Code to Reproduce
source .venv3.9/bin/activate
make install-dev
pip update -U xarray
make fast-test
Expected Results
No error is thrown when running make fast-test.
Output: "...370 passed, 3 skipped, 118 warnings..."
Actual Results
For xarray 2023.9-2024.6 we get the following errors:
FAILED starfish/core/image/Filter/test/test_api_contract.py::test_all_methods_adhere_to_contract[DeconvolvePSF] - ValueError: new dimensions ('y', 'x') must be a superset of existing dimensions ('dim_0', 'dim_1')
FAILED starfish/test/full_pipelines/api/test_merfish.py::test_merfish_pipeline_cropped_data - ValueError: new dimensions ('y', 'x') must be a superset of existing dimensions ('dim_0', 'dim_1')
for xarray 2024.7+ we get a new error:
FAILED starfish/core/image/Filter/test/test_zero_by_channel_magnitude.py::test_zero_by_channel_magnitude_produces_accurate_results - ValueError: ('c', 'z', 'y', 'x') must be a permuted list of ('r', 'c', 'z', 'y', 'x'), unless ... is included
FAILED starfish/core/image/Filter/test/test_api_contract.py::test_all_methods_adhere_to_contract[ZeroByChannelMagnitude] - ValueError: ('c', 'z', 'y', 'x') must be a permuted list of ('r', 'c', 'z', 'y', 'x'), unless ... is included
FAILED starfish/test/full_pipelines/api/test_dartfish.py::test_dartfish_pipeline_cropped_data - ValueError: ('c', 'z', 'y', 'x') must be a permuted list of ('r', 'c', 'z', 'y', 'x'), unless ... is included
Description
Currently xarray is kept at version 2023.8 as newer versions introduce errors in testing.
Steps/Code to Reproduce
Expected Results
No error is thrown when running
make fast-test
.Output: "...370 passed, 3 skipped, 118 warnings..."
Actual Results
For xarray 2023.9-2024.6 we get the following errors:
FAILED starfish/core/image/Filter/test/test_api_contract.py::test_all_methods_adhere_to_contract[DeconvolvePSF] - ValueError: new dimensions ('y', 'x') must be a superset of existing dimensions ('dim_0', 'dim_1')
FAILED starfish/test/full_pipelines/api/test_merfish.py::test_merfish_pipeline_cropped_data - ValueError: new dimensions ('y', 'x') must be a superset of existing dimensions ('dim_0', 'dim_1')
for xarray 2024.7+ we get a new error:
FAILED starfish/core/image/Filter/test/test_zero_by_channel_magnitude.py::test_zero_by_channel_magnitude_produces_accurate_results - ValueError: ('c', 'z', 'y', 'x') must be a permuted list of ('r', 'c', 'z', 'y', 'x'), unless
...
is includedFAILED starfish/core/image/Filter/test/test_api_contract.py::test_all_methods_adhere_to_contract[ZeroByChannelMagnitude] - ValueError: ('c', 'z', 'y', 'x') must be a permuted list of ('r', 'c', 'z', 'y', 'x'), unless
...
is includedFAILED starfish/test/full_pipelines/api/test_dartfish.py::test_dartfish_pipeline_cropped_data - ValueError: ('c', 'z', 'y', 'x') must be a permuted list of ('r', 'c', 'z', 'y', 'x'), unless
...
is includedVersions
Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
Python 3.9.18 (main, May 17 2024, 10:28:50)
[GCC 11.4.0]
NumPy 1.26.4
SciPy 1.13.1
scikit-image 0.21.0
pandas 2.2.3
sklearn 1.5.2
xarray 2023.8.0 (old)
xarray 2024.7.0
sympy 1.13.3
starfish 0.2.2+47.ga4fb2260
The text was updated successfully, but these errors were encountered: