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:
bmccandless
2020-07-16 15:11:37 -07:00
committed by GitHub
parent ed23d5dd9d
commit f223d7504e
6 changed files with 8 additions and 15 deletions
+3 -2
View File
@@ -164,6 +164,7 @@ def import_plugins(plugin_module):
module = importlib.import_module(full_name)
logging.info(f"Imported plugin {full_name}")
loaded_modules.append(module)
except ModuleNotFoundError:
logging.debug(f"No plugins found in module: {plugin_module}")
except ModuleNotFoundError as e:
logging.error(f"No plugins found in module: {plugin_module}: {str(e)}")
return loaded_modules