mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 13: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user