Skip to content

Commit 56fb881

Browse files
authored
initial version of within_brain_region (#148)
* clamp mesh imports to ones tagged at v1.1.0
1 parent 77eb388 commit 56fb881

File tree

58 files changed

+1377
-53784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1377
-53784
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export COMMIT_SHA := $(shell git rev-parse HEAD)
77
export IMAGE_NAME ?= $(APP_NAME)
88
export IMAGE_TAG := $(APP_VERSION)
99
export IMAGE_TAG_ALIAS := latest
10+
export HIERARCHY_NAME ?= aibs
1011
ifneq ($(ENVIRONMENT), prod)
1112
export IMAGE_TAG := $(IMAGE_TAG)-$(ENVIRONMENT)
1213
export IMAGE_TAG_ALIAS := $(IMAGE_TAG_ALIAS)-$(ENVIRONMENT)
@@ -54,8 +55,8 @@ import: ## Run the import on a database, assumes mba_hierarchy.json and out are
5455
@test -n "$(VIRTUAL_LAB_ID_IMPORT)" || (echo "Please set the variable VIRTUAL_LAB_ID_IMPORT"; exit 1)
5556
docker compose up --wait db
5657
uv run -m alembic upgrade head
57-
uv run -m app.cli.import_data --seed 0 hierarchy mba_hierarchy.json
58-
uv run -m app.cli.import_data --seed 1 run ./out --virtual-lab-id $(VIRTUAL_LAB_ID_IMPORT) --project-id $(PROJECT_ID_IMPORT)
58+
uv run -m app.cli.import_data --seed 0 hierarchy $(HIERARCHY_NAME) mba_hierarchy.json
59+
uv run -m app.cli.import_data --seed 1 run ./out --virtual-lab-id $(VIRTUAL_LAB_ID_IMPORT) --project-id $(PROJECT_ID_IMPORT) --hierarchy-name $(HIERARCHY_NAME)
5960

6061
organize-files: ## Organize files locally by creating symlinks from the backup to the expected location
6162
@$(call load_env,run-local)

alembic/versions/20250430_180935_abcd763b9bff_ionchannelmodel_fields.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

alembic/versions/20250501_172012_a22e65a120c3_make_ontology_id_nullable.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)