diff --git a/omero_figure/views.py b/omero_figure/views.py index 6ba145e6..9718a439 100644 --- a/omero_figure/views.py +++ b/omero_figure/views.py @@ -169,7 +169,7 @@ def parents(request, conn=None, **kwargs): try: image_ids = [int(iid) for iid in image_ids] except ValueError: - return Http404 ("Invalid 'image' id") + return Http404("Invalid 'image' id") parents = {} for img_id in image_ids: diff --git a/src/js/models/panel_model.js b/src/js/models/panel_model.js index 48d369e2..6c512903 100644 --- a/src/js/models/panel_model.js +++ b/src/js/models/panel_model.js @@ -376,8 +376,7 @@ } } else { // screen, plate, well, (name or id) - console.log("get_name_label_text", property, format, this.get(property)); - text = this.get(property)?.[format] ?? "Not Found"; + text = "" + this.get(property)?.[format] ?? "Not Found"; } return text; },