Skip to content

Commit

Permalink
Merge pull request #25 from guiwitz/bioio
Browse files Browse the repository at this point in the history
Bioio
  • Loading branch information
guiwitz authored Dec 13, 2024
2 parents c0666e1 + 200483f commit f78e55f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions microfilm/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ def __init__(

def initialize(self):

from aicsimageio import AICSImage, readers
from bioio import BioImage
import bioio_tifffile

# if no channel names are provided, consider all folders as channel
if self.channel_name is None:
Expand All @@ -240,7 +241,7 @@ def initialize(self):
self.channelfile = self.channel_name

self.channel_imobj = [
AICSImage(os.path.join(self.expdir, x), dim_order="TYX", reader=readers.TiffReader)
BioImage(os.path.join(self.expdir, x), dim_order="TYX", reader=bioio_tifffile.Reader)
for x in self.channel_name
]

Expand Down
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,16 @@ install_requires =

[options.extras_require]
multipage =
aicsimageio
bioio
bioio-tifffile
nd2 =
nd2reader
animation =
imageio-ffmpeg
ipywidgets
all =
aicsimageio
bioio
bioio-tifffile
nd2reader
imageio-ffmpeg
ipywidgets
Expand Down

0 comments on commit f78e55f

Please sign in to comment.