mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 19:58:12 +08:00
Add menu (#631)
* add menu * Added library versions to config and tests * add template version number
This commit is contained in:
@@ -65,6 +65,11 @@ class ConfigAPI(Resource):
|
||||
"parameters": {
|
||||
"max_category_items": current_app.data.max_category_items
|
||||
},
|
||||
"library_versions": {
|
||||
"scanpy": pkg_resources.get_distribution("scanpy").version,
|
||||
"cellxgene": pkg_resources.get_distribution("cellxgene").version,
|
||||
"anndata": pkg_resources.get_distribution("cellxgene").version
|
||||
}
|
||||
}
|
||||
}
|
||||
return make_response(jsonify(config), HTTPStatus.OK)
|
||||
|
||||
Reference in New Issue
Block a user