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

added _repr_html_ method for _ImageWrapper #394

Merged
merged 6 commits into from
Apr 24, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
limited floating point precision in voxel dimensions
  • Loading branch information
jo-mueller committed Jan 31, 2024
commit 1e40b2acb4827a014af3cb1bb7311a742482963e
8 changes: 4 additions & 4 deletions src/omero/gateway/__init__.py
Original file line number Diff line number Diff line change
@@ -10474,10 +10474,10 @@ def _repr_html_(self):
{self.getSizeZ()},
{self.getSizeY()},
{self.getSizeX()})"""
physical_dims = f"""(
{self.getPixelSizeZ()},
{self.getPixelSizeY()},
{self.getPixelSizeX()})"""
physical_dims = """({:.3f}, {:.3f}, {:.3f})""".format(
self.getPixelSizeZ(),
self.getPixelSizeY(),
self.getPixelSizeX())
physical_units = f"""(
{self.getPixelSizeZ(units=True).getUnit()},
{self.getPixelSizeY(units=True).getUnit()},
Loading