mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 01:48:13 +08:00
annotations cli updates (#1190)
* Switch logic from `--annotations` to `--disable-annotations * Rename `--annotations-file` --> `--annotations-input-file` and remove `experimental` * update docs * update makefile * update tests * Disable annotations on standard client smoke test * Update docs/posts/annotations.md Co-Authored-By: Matt Weiden <538456+mweiden@users.noreply.github.com> * Update docs/posts/annotations.md * Renaming * Docs * Update tests * Pesky typo -_- Co-authored-by: Matt Weiden <538456+mweiden@users.noreply.github.com>
This commit is contained in:
co-authored by
Matt Weiden
parent
8beeb57c96
commit
9089fc98f2
+6
-7
@@ -44,13 +44,9 @@ start-server:
|
||||
backend-dev: server-requirements
|
||||
source ../venv/bin/activate && $(MAKE) start-server
|
||||
|
||||
.PHONY: backend-dev-anno
|
||||
backend-dev-anno: server-requirements
|
||||
CXG_OPTIONS='--experimental-annotations' $(MAKE) backend-dev
|
||||
|
||||
.PHONY: backend-dev-anno-ontology
|
||||
backend-dev-anno-ontology: server-requirements
|
||||
CXG_OPTIONS='--experimental-annotations --experimental-annotations-ontology' \
|
||||
CXG_OPTIONS='--experimental-annotations-ontology' \
|
||||
$(MAKE) backend-dev
|
||||
|
||||
.PHONY: test
|
||||
@@ -73,7 +69,10 @@ e2e-annotations:
|
||||
|
||||
.PHONY: smoke-test
|
||||
smoke-test:
|
||||
start_server_and_test '$(MAKE) start-server' $(CXG_SERVER_PORT) '$(MAKE) e2e'
|
||||
start_server_and_test \
|
||||
'CXG_OPTIONS="--disable-annotations" $(MAKE) start-server' \
|
||||
$(CXG_SERVER_PORT) \
|
||||
'$(MAKE) e2e'
|
||||
|
||||
|
||||
.PHONY: smoke-test-annotations
|
||||
@@ -81,7 +80,7 @@ smoke-test-annotations:
|
||||
$(eval TMP_DIR := $(shell mktemp -d /tmp/cellxgene_XXXXXX))
|
||||
cp $(ANNOTATIONS) $(TMP_DIR)/ && \
|
||||
start_server_and_test \
|
||||
'CXG_OPTIONS="--experimental-annotations --experimental-annotations-file $(TMP_DIR)/$(ANNOTATIONS_FILENAME)" $(MAKE) start-server' \
|
||||
'CXG_OPTIONS="--annotations-file $(TMP_DIR)/$(ANNOTATIONS_FILENAME)" $(MAKE) start-server' \
|
||||
$(CXG_SERVER_PORT) \
|
||||
'$(MAKE) e2e-annotations'
|
||||
rm -rf $(TMP_DIR)
|
||||
|
||||
Reference in New Issue
Block a user