mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 04:28:12 +08:00
copy gene sets separately
This commit is contained in:
+5
-3
@@ -1,7 +1,8 @@
|
|||||||
include ../common.mk
|
include ../common.mk
|
||||||
|
|
||||||
TEST_CSVS := $(if $(ANNOTATIONS),$(ANNOTATIONS),../backend/test/fixtures/{pbmc3k-annotations.csv,pbmc3k-genesets.csv})
|
ANNOTATIONS := $(if $(ANNOTATIONS),$(ANNOTATIONS),../backend/test/fixtures/pbmc3k-annotations.csv)
|
||||||
ANNOTATIONS_FILENAME := $(shell basename $(ANNOTATIONS))
|
GENE_SETS := $(if $(ANNOTATIONS),$(ANNOTATIONS),../backend/test/fixtures/pbmc3k-genesets.csv)
|
||||||
|
ANNOTATIONS_FILENAME := $(shell basename $(TEST_CSVS))
|
||||||
|
|
||||||
CXG_CONFIG := $(if $(CXG_CONFIG), $(CXG_CONFIG), ./__tests__/e2e/test_config.yaml)
|
CXG_CONFIG := $(if $(CXG_CONFIG), $(CXG_CONFIG), ./__tests__/e2e/test_config.yaml)
|
||||||
|
|
||||||
@@ -41,7 +42,8 @@ smoke-test:
|
|||||||
.PHONY: smoke-test-annotations
|
.PHONY: smoke-test-annotations
|
||||||
smoke-test-annotations:
|
smoke-test-annotations:
|
||||||
$(eval TMP_DIR := $(shell mktemp -d /tmp/cellxgene_XXXXXX))
|
$(eval TMP_DIR := $(shell mktemp -d /tmp/cellxgene_XXXXXX))
|
||||||
cp $(TEST_CSVS) $(TMP_DIR)/ && \
|
cp $(ANNOTATIONS) $(TMP_DIR)/ && \
|
||||||
|
cp $(GENE_SETS) $(TMP_DIR)/ && \
|
||||||
start_server_and_test \
|
start_server_and_test \
|
||||||
'CXG_OPTIONS="--annotations-file $(TMP_DIR)/$(ANNOTATIONS_FILENAME)" $(MAKE) start-server' \
|
'CXG_OPTIONS="--annotations-file $(TMP_DIR)/$(ANNOTATIONS_FILENAME)" $(MAKE) start-server' \
|
||||||
$(CXG_SERVER_PORT) \
|
$(CXG_SERVER_PORT) \
|
||||||
|
|||||||
Reference in New Issue
Block a user