mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-25 07:28:11 +08:00
Add schema subcommand (#1939)
Add the `cellxgene schema apply` and `cellxgene schema validate` subcommands. The first takes an h5ad file and a yaml with config information and produces a new h5ad that follows the cellxgene data integration schema. The second takes an h5ad and checks if it follows the schema version written into its metadata. Both are currently marked as "experimental" as the primary intended users are still at CZI.
This commit is contained in:
@@ -4,6 +4,7 @@ from .convert_to_cxg import convert_to_cxg
|
||||
from .launch import launch
|
||||
from .prepare import prepare
|
||||
from .upgrade import log_upgrade_check
|
||||
from .schema import schema_cli
|
||||
from .. import __version__
|
||||
|
||||
|
||||
@@ -31,3 +32,4 @@ def cli(upgrade_check):
|
||||
cli.add_command(launch)
|
||||
cli.add_command(prepare)
|
||||
cli.add_command(convert_to_cxg)
|
||||
cli.add_command(schema_cli)
|
||||
|
||||
Reference in New Issue
Block a user