Skip to content

Commit

Permalink
Merge pull request #48 from geneontology/fix-update-cx2-legend-graphic
Browse files Browse the repository at this point in the history
Use new legend graphic in CX2 description
  • Loading branch information
pkalita-lbl authored Jan 30, 2025
2 parents b4dc026 + 1725121 commit cdadf74
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/gocam/translation/cx2/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@
"Xenopus",
]

# This graph was produced by the NDEx team based on the style attributes in our CX2 networks. This
# image gets referenced in the network description. It seems a bit fragile to have this static image
# with no process in place to update it if the style changes. But the NDEx folks were fairly
# insistent that we include a legend graphic in the network description.
LEGEND_GRAPHIC_SRC = "https://home.ndexbio.org/img/go-cam_legend_2024108_v2.png"
# This image gets referenced in the network description. The NDEx folks were fairly insistent that
# we include a legend graphic in the network description. The process of generating this graphic is
# not fully automated, but it is described here: https://github.com/pkalita-lbl/ndex-gocam-legend
LEGEND_GRAPHIC_SRC = "https://geneontology.org/assets/ndex-gocam-legend-v1.png"


def _remove_species_code_suffix(label: str) -> str:
Expand Down

0 comments on commit cdadf74

Please sign in to comment.