From 94e5392269cb39709d76a86b5def9c338be14619 Mon Sep 17 00:00:00 2001 From: evamaxfield Date: Sun, 21 Aug 2022 22:09:54 -0700 Subject: [PATCH] Add a note in README about forcing plugin usage --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index d89d758..889a5d3 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,19 @@ the following two conditions: If either of these conditions isn't met, the image is loaded in chunks only as needed. +### Use napari-aicsimageio as the Reader for All File Formats + +If you want to force napari to always use this plugin as the reader for all file formats, +try running this snippet: + +```python +from napari.settings import get_settings + +get_settings().plugins.extension2reader = {'*': 'napari-aicsimageio', **get_settings().plugins.extension2reader} +``` + +For more details, see [#37](https://github.com/AllenCellModeling/napari-aicsimageio/issues/37). + ## Examples of Features #### General Image Reading