You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
working with a recent version of omero-py, there is now a nicer looking output for images.
But for anything else than an image, this produces errors.
The issue in the issue is that they can easily be misinterpreted as mistakes of the user. But the error only comes from _repr_html_ when an object is shown in Jupyter.
def_repr_html_(self):
""" Returns an HTML representation of the object. This is used by the IPython notebook to display the object in a cell. """returnimage_to_html(self)
I am in favor of using more HTML representations for other kinds of objects, but we should first fix that issue.
I'm afraid that's something I introduced in a past PR ^^"
I already created a PR (#429) to fix it, but unfortunately it hasn't seen much attention since then 😬
Hello,
working with a recent version of omero-py, there is now a nicer looking output for images.
But for anything else than an image, this produces errors.
The issue in the issue is that they can easily be misinterpreted as mistakes of the user. But the error only comes from
_repr_html_
when an object is shown in Jupyter.The issue is that
_repr_html_
here is implemented for the classBlitzObjectWrapper
, but the functionimage_to_html
only works for images:https://github.com/ome/omero-py/pull/394/files#diff-a017e360f546e1f25f0118e5c18fd4b4842531636af7903c9c6556309c6d13fbR294-R300
I am in favor of using more HTML representations for other kinds of objects, but we should first fix that issue.
@jo-mueller
The text was updated successfully, but these errors were encountered: