Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow undefined pixel size for NDTiff #217

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion iohub/ndtiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, data_path: str):
self.channel_names = list(self.dataset.get_channel_names())
self.stage_positions = self.mm_meta["Summary"]["StagePositions"]
self.z_step_size = self.mm_meta["Summary"]["z-step_um"]
self.xy_pixel_size = self.mm_meta["Summary"]["PixelSize_um"]
self.xy_pixel_size = self.mm_meta["Summary"].get("PixelSize_um", 1.0)

def _get_summary_metadata(self):
pm_metadata = self.dataset.summary_metadata
Expand Down
1 change: 0 additions & 1 deletion iohub/upti.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


class UPTIReader(ReaderBase):

"""
Reader for UPTI raw data.
Accepts both new live UPTI and older UPTI format.
Expand Down
1 change: 0 additions & 1 deletion iohub/zarrfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@


class ZarrReader(ReaderBase):

"""
.. deprecated:: 0.0.1
`ZarrReader` will be removed in future iohub releases,
Expand Down
Loading