diff --git a/CHANGELOG.md b/CHANGELOG.md index adfe22a07..40d9b577a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ ### Improvements - Style can specify a dtype of 'source' to maintain the original dtype even when compositing frames ([#1326](../../pull/1326)) +### Changes +- Prohibit bioformats and vips from reading mrxs directly ([#1328](../../pull/1328)) + ## 1.25.0 ### Features diff --git a/sources/bioformats/large_image_source_bioformats/__init__.py b/sources/bioformats/large_image_source_bioformats/__init__.py index 37ac3cc03..0783c9dbd 100644 --- a/sources/bioformats/large_image_source_bioformats/__init__.py +++ b/sources/bioformats/large_image_source_bioformats/__init__.py @@ -62,7 +62,7 @@ # Default to ignoring files with no extension and some specific extensions. config.ConfigValues['source_bioformats_ignored_names'] = \ - r'(^[^.]*|\.(jpg|jpeg|jpe|png|tif|tiff|ndpi|nd2|ome|nc|json|isyntax))$' + r'(^[^.]*|\.(jpg|jpeg|jpe|png|tif|tiff|ndpi|nd2|ome|nc|json|isyntax|mrxs))$' def _monitor_thread(): diff --git a/sources/vips/large_image_source_vips/__init__.py b/sources/vips/large_image_source_vips/__init__.py index 1fbb36b90..b015a47c7 100644 --- a/sources/vips/large_image_source_vips/__init__.py +++ b/sources/vips/large_image_source_vips/__init__.py @@ -22,7 +22,7 @@ # Default to ignoring files with no extension and some specific extensions. config.ConfigValues['source_vips_ignored_names'] = \ - r'(^[^.]*|\.(yml|yaml|json|png|svs))$' + r'(^[^.]*|\.(yml|yaml|json|png|svs|mrxs))$' def _clearVipsCache():