mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-05 17:58:12 +08:00
Small fix for handling display versions (#1625)
* Small fix for handling display versions Making a distinction between __version__ and the version we display in the info panel (displayr_version). The hosted cellxgene can overwrite the display_version using a plugin. Improve version handling in the customized assets
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from server import __version__ as cellxgene_version
|
||||
from server import display_version as cellxgene_display_version
|
||||
from flatten_dict import flatten, unflatten
|
||||
import os
|
||||
from os.path import splitext, basename, isdir
|
||||
@@ -213,7 +213,7 @@ class AppConfig(object):
|
||||
# library_versions
|
||||
library_versions = {}
|
||||
library_versions.update(data_adaptor.get_library_versions())
|
||||
library_versions["cellxgene"] = cellxgene_version
|
||||
library_versions["cellxgene"] = cellxgene_display_version
|
||||
|
||||
# links
|
||||
links = {"about-dataset": about}
|
||||
|
||||
Reference in New Issue
Block a user