Skip to main content

Bioformats for napari, using pims

Project description

napari-bioformats

License PyPI Conda Python Version tests codecov

Bioformats plugin for napari using pims-bioformats


Use this plugin as a fallback!

Anyone coming to napari from the Fiji/ImageJ world will likely be aware of the incredible Bio-Formats library. A heroic effort, built over years, to read more than a 100 file formats. Naturally, we want some of that goodness for napari ... hence this plugin.

However: it's important to note that this plugin still requires having a java runtime engine installed. This is easy enough to do (the plugin will ask to install it for you if you're in a conda environment), but it definitely makes for a more complicated environment setup, it's not very "pythonic", and the performance will likely not feel as snappy as a native "pure" python modulel.

So, before you reflexively install this plugin to fill that bio-formats sized hole in your python heart, consider trying some of the other pure-python plugins designed to read your format of interest:

if you have a pure-python reader for a bio-formats-supported file format that you'd like to see added to this list, please open an issue

Installation

The easiest way to install napari-bioformats is via conda, from the conda-forge channel:

conda install -c conda-forge napari-bioformats

It is also possible to install via pip, but you will need to have a working JVM installed, and may need to set the JAVA_HOME environment variable

pip install napari-bioformats

First Usage

The first time you attempt to open a file with napari-bioformats, you will likely notice a long delay as pims downloads the loci_tools.jar (speed will depend on your internet connection). Subsequent files should open more quickly.

License

Distributed under the terms of the BSD-3 license, "napari-bioformats" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari-bioformats-0.1.2.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

napari_bioformats-0.1.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file napari-bioformats-0.1.2.tar.gz.

File metadata

  • Download URL: napari-bioformats-0.1.2.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for napari-bioformats-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9361bf87158599b2aa57143265f5e48cc9a1901a9fc2897b2c74b8f2462a9e03
MD5 258f8d4808490f14e567759fb14071cd
BLAKE2b-256 b8f5a5d017146d23e7188d7eb558db6c4ff3703c3dbe6a5b70bd951e58b7c8c2

See more details on using hashes here.

File details

Details for the file napari_bioformats-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: napari_bioformats-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for napari_bioformats-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e652209087c586d5690da4500f37e9d4c10a1dba2c6c33b1f5a1072cbd2c8d47
MD5 76492f6dc9a8d81d5087a2f7873ea0df
BLAKE2b-256 856bfca47aad640e4de11b39f831c57a48b571c1261319d4860a77eaf8689620

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page