Skip to content

More __repr_html__ fields #471

@jo-mueller

Description

@jo-mueller

Hi folks,

after using omero-py for a while (predominantly from Jupyter notebooks) I thought it would be nice to introduce some more __repr_html__ methods to some of the more commonly used wrapper classes. Classes where I could see value to it:

  • TagAnnotationWrapper: Could draw a small svg object of a Tag with the tag's label/id
  • MapAnnotationWrapper: could use a conversion to a pandas dataframe or just spawn a simple html table.
  • DatasetWrapper: ID & name of dataset, number of images inside?
  • PlateWrapper: Fancy svg display of well object with correct number of wells, row/column labels, etc?

I suppose all these __repr_html__ methods should go into the respective derived classes to avoid errors like #435

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions