Skip to content

Commit

Permalink
added correct orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
PolarBean committed Sep 15, 2024
1 parent 178d92e commit 239af9a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
ATLAS_FILE_URL = "https://www.neuropedia.dk/wp-content/uploads/Multimodal_mouse_brain_atlas_files_v2.7z"

Check warning on line 83 in brainglobe_atlasapi/atlas_generation/atlas_scripts/perens_stereotaxic_mri_mouse.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_atlasapi/atlas_generation/atlas_scripts/perens_stereotaxic_mri_mouse.py#L82-L83

Added lines #L82 - L83 were not covered by tests
# The orientation of the **original** atlas data, in BrainGlobe convention:
# https://brainglobe.info/documentation/setting-up/image-definition.html#orientation
ORIENTATION = "ial"
ORIENTATION = "als"

Check warning on line 86 in brainglobe_atlasapi/atlas_generation/atlas_scripts/perens_stereotaxic_mri_mouse.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_atlasapi/atlas_generation/atlas_scripts/perens_stereotaxic_mri_mouse.py#L86

Added line #L86 was not covered by tests

# The id of the highest level of the atlas. This is commonly called root or
# brain. Include some information on what to do if your atlas is not
Expand Down Expand Up @@ -190,6 +190,7 @@ def retrieve_structure_information():
"""
# Since this atlas inherits from the allen can we not simply get the data
# from the bgapi?
"determining structures"
allen_atlas = BrainGlobeAtlas("allen_mouse_25um")
allen_structures = allen_atlas.structures_list
allen_structures = [

Check warning on line 196 in brainglobe_atlasapi/atlas_generation/atlas_scripts/perens_stereotaxic_mri_mouse.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_atlasapi/atlas_generation/atlas_scripts/perens_stereotaxic_mri_mouse.py#L193-L196

Added lines #L193 - L196 were not covered by tests
Expand Down Expand Up @@ -321,7 +322,7 @@ def retrieve_or_construct_meshes():
hemispheres_stack = retrieve_hemisphere_map()
structures = retrieve_structure_information()
meshes_dict = retrieve_or_construct_meshes()

print("wrapping up atlas")
output_filename = wrapup_atlas_from_data(

Check warning on line 326 in brainglobe_atlasapi/atlas_generation/atlas_scripts/perens_stereotaxic_mri_mouse.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_atlasapi/atlas_generation/atlas_scripts/perens_stereotaxic_mri_mouse.py#L318-L326

Added lines #L318 - L326 were not covered by tests
atlas_name=ATLAS_NAME,
atlas_minor_version=__version__,
Expand Down

0 comments on commit 239af9a

Please sign in to comment.