Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeClaudi committed Jun 18, 2020
1 parent 9765258 commit 80d799a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions atlas_gen/atlas_scripts/kim_unified_atlas_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
# import sys

# sys.path.append("./")
from atlas_gen.mesh_utils import create_region_mesh
from atlas_gen.mesh_utils import create_region_mesh, Region
from atlas_gen.wrapup import wrapup_atlas_from_data
from brainatlas_api.structure_tree_util import get_structures_tree, Region
from brainatlas_api.structure_tree_util import get_structures_tree


if __name__ == "__main__":
PARALLEL = True # disable parallel mesh extraction for easier debugging
PARALLEL = False # disable parallel mesh extraction for easier debugging

# ---------------------------------------------------------------------------- #
# PREP METADATA #
# ---------------------------------------------------------------------------- #
RES_UM = 50
RES_UM = 25
VERSION = 1
ATLAS_NAME = f"kim_unified"
SPECIES = "Mus musculus"
ATLAS_LINK = "https://kimlab.io/brain-map/atlas/"
CITATION = "Chon et al. 2019, https://doi.org/10.1038/s41467-019-13057-w"
ORIENTATION = "asr"
ORIENTATION = "als"
ROOT_ID = 997

# ---------------------------------------------------------------------------- #
Expand Down
1 change: 0 additions & 1 deletion atlas_gen/mesh_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ def create_region_mesh(args):
if not np.max(mask):
print(f"Empty mask for {node.tag}")
else:
print("Creating mesh for ", node.tag)
if node.identifier == ROOT_ID:
extract_mesh_from_mask(
mask, obj_filepath=savepath, smooth=True
Expand Down

0 comments on commit 80d799a

Please sign in to comment.