|
|
@ -25,6 +25,8 @@ DBADDR = "0.0.0.0:27017" # don't use localhost
|
|
|
|
include env.local
|
|
|
|
include env.local
|
|
|
|
|
|
|
|
|
|
|
|
N_CORES = 5
|
|
|
|
N_CORES = 5
|
|
|
|
|
|
|
|
# insert kres files into database in chunks, for fewer connections
|
|
|
|
|
|
|
|
KRES_CHUNK_SIZE = 100
|
|
|
|
export
|
|
|
|
export
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: python-env fill-database
|
|
|
|
.PHONY: python-env fill-database
|
|
|
@ -76,6 +78,7 @@ fill-database-kres: data/samples
|
|
|
|
--ssj-file $(SSJ_FILE) --kres-srl-folder $(KRES_SRL_FOLDER) \
|
|
|
|
--ssj-file $(SSJ_FILE) --kres-srl-folder $(KRES_SRL_FOLDER) \
|
|
|
|
--output $(OUTPUT) --outdir $(OUTDIR) --dbaddr $(DBADDR) \
|
|
|
|
--output $(OUTPUT) --outdir $(OUTDIR) --dbaddr $(DBADDR) \
|
|
|
|
--dbuser $(DB_USR_USER) --dbpass $(DB_USR_PASS) \
|
|
|
|
--dbuser $(DB_USR_USER) --dbpass $(DB_USR_PASS) \
|
|
|
|
|
|
|
|
--chunk-size $(KRES_CHUNK_SIZE) \
|
|
|
|
--cores $(N_CORES)
|
|
|
|
--cores $(N_CORES)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|