-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warnings from skimage.io module in test suite #5337
Comments
On current main there are no more scikit-image/skimage/io/tests/test_pil.py::test_imread_separate_channels
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:984: DeprecationWarning: <tifffile.TiffWriter.write> data with shape (3, 16, 8) and dtype 'float64' are stored as RGB with separate component planes. Future versions will store such data as MINISBLACK in separate pages by default unless the 'photometric' and 'planarconfig' parameters are specified.
result = tif.write(data, shape, dtype, **kwargs)
scikit-image/skimage/io/tests/test_tifffile.py::test_tifffile_kwarg_passthrough
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:908: DeprecationWarning: <tifffile.TiffFile> the 'fastij' argument is ignored
with TiffFile(files, **kwargs_file) as tif:
scikit-image/skimage/io/tests/test_tifffile.py::test_tifffile_kwarg_passthrough
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:908: DeprecationWarning: <tifffile.TiffFile> the 'multifile' argument is ignored
with TiffFile(files, **kwargs_file) as tif:
scikit-image/skimage/io/tests/test_tifffile.py::test_tifffile_kwarg_passthrough
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:908: DeprecationWarning: <tifffile.TiffFile> the 'multifile_close' argument is ignored
with TiffFile(files, **kwargs_file) as tif:
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[False-float32-shape1]
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[True-float32-shape1]
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:984: DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 3) and dtype 'float32' are stored as RGB with contiguous samples. Future versions will store such data as MINISBLACK in separate pages by default unless the 'photometric' parameter is specified.
result = tif.write(data, shape, dtype, **kwargs)
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[False-float32-shape2]
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[True-float32-shape2]
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:984: DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 4) and dtype 'float32' are stored as RGB with contiguous samples. Future versions will store such data as MINISBLACK in separate pages by default unless the 'photometric' parameter is specified.
result = tif.write(data, shape, dtype, **kwargs)
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[False-int16-shape1]
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[True-int16-shape1]
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:984: DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 3) and dtype 'int16' are stored as RGB with contiguous samples. Future versions will store such data as MINISBLACK in separate pages by default unless the 'photometric' parameter is specified.
result = tif.write(data, shape, dtype, **kwargs)
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[False-int16-shape2]
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[True-int16-shape2]
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:984: DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 4) and dtype 'int16' are stored as RGB with contiguous samples. Future versions will store such data as MINISBLACK in separate pages by default unless the 'photometric' parameter is specified.
result = tif.write(data, shape, dtype, **kwargs)
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[False-float64-shape1]
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[True-float64-shape1]
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:984: DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 3) and dtype 'float64' are stored as RGB with contiguous samples. Future versions will store such data as MINISBLACK in separate pages by default unless the 'photometric' parameter is specified.
result = tif.write(data, shape, dtype, **kwargs)
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[False-float64-shape2]
scikit-image/skimage/io/tests/test_tifffile.py::TestSave::test_imsave_roundtrip[True-float64-shape2]
/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/tifffile/tifffile.py:984: DeprecationWarning: <tifffile.TiffWriter.write> data with shape (10, 10, 4) and dtype 'float64' are stored as RGB with contiguous samples. Future versions will store such data as MINISBLACK in separate pages by default unless the 'photometric' parameter is specified.
result = tif.write(data, shape, dtype, **kwargs) |
Thanks @mkcor, to summarize these, it looks like most are of this type.
We need to decide if we should be adding one of these new kwargs for backwards compatibility or if our policy is just to dispatch to whatever the The others just look like we are testing with some deprecated kwargs, so we should be able to address that pretty easily in the test suite.: |
Description
The following test suite warnings were observed for the main branch while working on #5336
The text was updated successfully, but these errors were encountered: