Skip to main content

A BioIO reader for reading bioformats formatted images.

Project description

bioio-bioformats

Build Status PyPI version License: GPL v3 Python 3.10–3.13

A BioIO reader plugin for reading many file formats like as seen here using bioformats


Documentation

See the full documentation on our GitHub pages site - the generic use and installation instructions there will work for this package.

Information about the base reader this package relies on can be found in the bioio-base repository here

Installation

Stable Release: pip install bioio-bioformats
Development Head: pip install git+https://github.com/bioio-devs/bioio-bioformats.git

Special Installation Instructions

This package utilizes bioformats which depends on java

To install java and maven with conda, run:

conda install -c conda-forge scyjava

You may need to deactivate/reactivate your environment after installing. If you are still getting a JVMNotFoundException, try setting JAVA_HOME as follows:

Mac / Linux

export JAVA_HOME=$CONDA_PREFIX

Windows

set JAVA_HOME=%CONDA_PREFIX%\\Library

Example Usage (see full documentation for more examples)

Install bioio-bioformats alongside bioio:

pip install bioio bioio-bioformats

This example shows a simple use case for just accessing the pixel data of the image by explicitly passing this Reader into the BioImage. Passing the Reader into the BioImage instance is optional as bioio will automatically detect installed plug-ins and auto-select the most recently installed plug-in that supports the file passed in.

from bioio import BioImage
import bioio_bioformats

img = BioImage("my_file.tiff", reader=bioio_bioformats.Reader)
img.data

Issues

Click here to view all open issues in bioio-devs organization at once or check this repository's issue tab.

Development

See CONTRIBUTING.md for information related to developing the code.

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

bioio_bioformats-1.3.2.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bioio_bioformats-1.3.2-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file bioio_bioformats-1.3.2.tar.gz.

File metadata

  • Download URL: bioio_bioformats-1.3.2.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bioio_bioformats-1.3.2.tar.gz
Algorithm Hash digest
SHA256 34d1264ef023fc598ef6d4374e9a7f7a7804dd402a0493f3ad88dca6f81948ef
MD5 8758484104e5732fc95ff911e346a17e
BLAKE2b-256 cf86fd5fa2b71cec3bb49cb448a34d62e9aade3464472989f9a46b0ba49d4aa2

See more details on using hashes here.

Provenance

The following attestation bundles were made for bioio_bioformats-1.3.2.tar.gz:

Publisher: ci.yml on bioio-devs/bioio-bioformats

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bioio_bioformats-1.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bioio_bioformats-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 15f12054a4bd0921a2e63773addaa9341107cf4f057fd530853ab0970999be31
MD5 47fc6128e346e805b3314b5010d02266
BLAKE2b-256 f55f8438464526fcb82f2b53ce4b1258284db5ee542ff036b5e1258787f1aa16

See more details on using hashes here.

Provenance

The following attestation bundles were made for bioio_bioformats-1.3.2-py3-none-any.whl:

Publisher: ci.yml on bioio-devs/bioio-bioformats

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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