mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-25 23:18:12 +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:
@@ -13,12 +13,8 @@ from server.app.scanpy_engine.scanpy_engine import ScanpyEngine
|
||||
|
||||
class UtilTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
args = argparse.Namespace()
|
||||
args.layout = "umap"
|
||||
args.diffexp = "ttest"
|
||||
args.max_category_items = 100
|
||||
args.obs_names = None
|
||||
args.var_names = None
|
||||
args = {'layout': 'umap', 'diffexp': 'ttest', 'max_category_items': 100,
|
||||
'obs_names': None, 'var_names': None}
|
||||
|
||||
self.data = ScanpyEngine("example-dataset/pbmc3k.h5ad", args)
|
||||
self.data._create_schema()
|
||||
|
||||
Reference in New Issue
Block a user