Skip to content

Commit

Permalink
support empty waypoints, minerva-author-ui@v1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnhoffer committed Mar 6, 2024
1 parent 8530ea4 commit bbd58eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,10 @@ def format_overlay(o):
def make_waypoints(d, mask_data, vis_path_dict={}):

for waypoint in d:
no_name = 0 == len(waypoint.get('name',''))
no_text = 0 == len(waypoint.get('text',''))
if len(d) == 1 and no_name and no_text:
continue
mask_labels = []
if len(mask_data) > 0:
wp_masks = waypoint["masks"]
Expand Down
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html><head><title>Minerva Author</title><link rel="icon" href="images/favicon.png"><meta charset="UTF-8"><meta http-equiv="Cache-control" content="no-cache"/><meta name="description" content="Minerva Author is an authoring tool used to create Minerva narrated stories via selection of specific channel groupings and image views."><meta name="keywords" content="Minerva, microscopy, multiplexed, immunofluorescence, imaging, OME, LSP"><meta property="og:title" content="Minerva Author"/><meta property="og:type" content="website"/><meta property="og:url" content="https://author.minerva.im"/><meta property="og:image" content="https://author.minerva.im/images/Minerva-Author_HorizLogo_RGB.svg"/><script defer="defer" src="https://use.fontawesome.com/releases/v5.2.0/js/all.js" integrity="sha384-4oV5EgaV02iISL2ban6c/RmotsABqE4yZxZLcYMAdG7FAPsyHYAPpywE9PJo+Khy" crossorigin="anonymous"></script></head><body><div id="minerva"></div><script src="https://cdn.jsdelivr.net/npm/minerva-author-ui@1.9.1/build/bundle.3a3bd89f699b609fe354.js"></script></body></html>
<!doctype html><html><head><title>Minerva Author</title><link rel="icon" href="images/favicon.png"><meta charset="UTF-8"><meta http-equiv="Cache-control" content="no-cache"/><meta name="description" content="Minerva Author is an authoring tool used to create Minerva narrated stories via selection of specific channel groupings and image views."><meta name="keywords" content="Minerva, microscopy, multiplexed, immunofluorescence, imaging, OME, LSP"><meta property="og:title" content="Minerva Author"/><meta property="og:type" content="website"/><meta property="og:url" content="https://author.minerva.im"/><meta property="og:image" content="https://author.minerva.im/images/Minerva-Author_HorizLogo_RGB.svg"/><script defer="defer" src="https://use.fontawesome.com/releases/v5.2.0/js/all.js" integrity="sha384-4oV5EgaV02iISL2ban6c/RmotsABqE4yZxZLcYMAdG7FAPsyHYAPpywE9PJo+Khy" crossorigin="anonymous"></script></head><body><div id="minerva"></div><script src="https://cdn.jsdelivr.net/npm/minerva-author-ui@1.9.2/build/bundle.c9e88bfd6cc1c72725fe.js"></script></body></html>

0 comments on commit bbd58eb

Please sign in to comment.