-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Description
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
Versions
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