mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-26 08:08:13 +08:00
CLI refactor (#396)
* refactor cli to improve ux and enable easy incorporation of prepare as a subcommand * switches to use click, which removes some boilerplate and gets us some improved ux for free * changes the entry point for the cli * changes the name of the browser option to --open and makes the default false
This commit is contained in:
@@ -24,8 +24,8 @@ class ScanpyEngine(CXGDriver):
|
||||
|
||||
def __init__(self, data, args):
|
||||
super().__init__(data, args)
|
||||
self._alias_annotation_names(Axis.OBS, args.obs_names)
|
||||
self._alias_annotation_names(Axis.VAR, args.var_names)
|
||||
self._alias_annotation_names(Axis.OBS, args['obs_names'])
|
||||
self._alias_annotation_names(Axis.VAR, args['var_names'])
|
||||
self._validate_data_types()
|
||||
self.cell_count = self.data.shape[0]
|
||||
self.gene_count = self.data.shape[1]
|
||||
|
||||
Reference in New Issue
Block a user