-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from spapa013/main
v0.0.10 - microns_materialization_v3
- Loading branch information
Showing
15 changed files
with
1,195 additions
and
659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ LABEL maintainer="Stelios Papadopoulos <[email protected]>" | |
|
||
RUN pip3 install \ | ||
meshparty \ | ||
pcg-skel \ | ||
cloud-volume \ | ||
analysisdatalink\ | ||
caveclient \ | ||
|
@@ -14,5 +15,5 @@ RUN mkdir -p .cloudvolume/secrets | |
RUN echo "{\"token\": \"${CLOUDVOLUME_TOKEN:-}\"}" > .cloudvolume/secrets/cave-secret.json | ||
|
||
COPY . /src/microns-materialization | ||
RUN pip3 install -e /src/microns-materialization/python/microns-materialization | ||
RUN pip3 install -e /src/microns-materialization/python/microns-materialization-api | ||
RUN pip3 install --prefix=$(python -m site --user-base) -e /src/microns-materialization/python/microns-materialization | ||
RUN pip3 install --prefix=$(python -m site --user-base) -e /src/microns-materialization/python/microns-materialization-api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import os | ||
|
||
if __name__ == 'main': | ||
from microns_materialization.minnie_materialization.minnie65_materialization import download_materialization | ||
download_materialization(ver=int(os.getenv('MICRONS_MAT_VER_TO_DL')), download_meshes=True, download_synapses=True, loglevel=os.getenv('MICRONS_LOGLEVEL')) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import os | ||
|
||
if __name__ == 'main': | ||
from microns_materialization.minnie_materialization.minnie65_materialization import download_materialization | ||
download_materialization(ver=int(os.getenv('MICRONS_MAT_VER_TO_DL')), download_meshes=True, download_synapses=False, loglevel=os.getenv('MICRONS_LOGLEVEL')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import os | ||
|
||
if __name__ == 'main': | ||
from microns_materialization.minnie_materialization.minnie65_materialization import Queue, download_meshwork_objects | ||
download_meshwork_objects(Queue.PCGMeshwork, loglevel=os.getenv('MICRONS_LOGLEVEL')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import os | ||
|
||
if __name__ == 'main': | ||
from microns_materialization.minnie_materialization.minnie65_materialization import Queue, download_pcg_skeletons | ||
download_pcg_skeletons(Queue.PCGSkeleton, loglevel=os.getenv('MICRONS_LOGLEVEL')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import os | ||
|
||
if __name__ == 'main': | ||
from microns_materialization.minnie_materialization.minnie65_materialization import download_materialization | ||
download_materialization(ver=int(os.getenv('MICRONS_MAT_VER_TO_DL')), download_meshes=False, download_synapses=True, loglevel=os.getenv('MICRONS_LOGLEVEL')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
python/microns-materialization-api/microns_materialization_api/config/externals.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
""" | ||
Externals for DataJoint tables. | ||
""" | ||
import datajoint.datajoint_plus as djp | ||
from pathlib import Path | ||
|
||
import datajoint.datajoint_plus as djp | ||
|
||
base_path = Path() / '/mnt' / 'dj-stor01' / 'microns' | ||
|
||
#h01 materialization | ||
h01_materialization_external_meshes_path = base_path / 'h01' / 'meshes' | ||
|
||
h01_materialization = { | ||
'h01_meshes': djp.make_store_dict(h01_materialization_external_meshes_path), | ||
} | ||
|
||
#minnie65_materialization | ||
minnie65_materialization_external_meshes_path = base_path / 'minnie' / 'meshes' | ||
minnie65_materialization_external_meshes_path = base_path / 'minnie65' / 'meshes' | ||
minnie65_materialization_external_meshwork_path = base_path / 'minnie65' / 'meshwork' | ||
minnie65_materialization_external_pcg_skeletons_path = base_path / 'minnie65' / 'pcg_skeletons' | ||
|
||
minnie65_materialization = { | ||
'minnie65_meshes': djp.make_store_dict(minnie65_materialization_external_meshes_path), | ||
'minnie65_meshwork': djp.make_store_dict(minnie65_materialization_external_meshwork_path), | ||
'minnie65_pcg_skeletons': djp.make_store_dict(minnie65_materialization_external_pcg_skeletons_path), | ||
} |
Oops, something went wrong.