Skip to content

Commit

Permalink
switch to 25um data
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrofelder committed Oct 28, 2024
1 parent 6ca66b2 commit 6492188
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions brainglobe_atlasapi/atlas_generation/atlas_scripts/blackcap.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ def create_atlas(working_dir, resolution):
# setup folder for downloading

atlas_path = Path(

Check warning on line 37 in brainglobe_atlasapi/atlas_generation/atlas_scripts/blackcap.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_atlasapi/atlas_generation/atlas_scripts/blackcap.py#L37

Added line #L37 was not covered by tests
"/media/ceph-neuroinformatics/neuroinformatics/atlas-forge/BlackCap/templates/template_sym_res-50um_n-18/for_atlas/"
"/media/ceph-neuroinformatics/neuroinformatics/atlas-forge/BlackCap/templates/template_sym_res-25um_n-18/for_atlas/"
)

structures_file = atlas_path / "Label_description_BC74white_16_02_2024.txt"
annotations_file = (

Check warning on line 42 in brainglobe_atlasapi/atlas_generation/atlas_scripts/blackcap.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_atlasapi/atlas_generation/atlas_scripts/blackcap.py#L41-L42

Added lines #L41 - L42 were not covered by tests
atlas_path / "sub-BC74_res-50um_labels_aligned-to-reference.nii.gz"
atlas_path / "sub-BC74_res-25um_labels_aligned-to-reference.nii.gz"
)
reference_file = atlas_path / "reference_res-50um_image.nii.gz"
reference_mask_file = atlas_path / "reference_res-50um_mask-4reg.nii.gz"
reference_file = atlas_path / "reference_res-25um_image.nii.gz"
reference_mask_file = atlas_path / "reference_res-25um_mask-4reg.nii.gz"
meshes_dir_path = Path.home() / "blackcap-meshes"

Check warning on line 47 in brainglobe_atlasapi/atlas_generation/atlas_scripts/blackcap.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_atlasapi/atlas_generation/atlas_scripts/blackcap.py#L45-L47

Added lines #L45 - L47 were not covered by tests

try:
Expand Down Expand Up @@ -248,7 +248,7 @@ def create_atlas(working_dir, resolution):


if __name__ == "__main__":
res = 50, 50, 50
res = 25, 25, 25
home = str(Path.home())
bg_root_dir = Path.home() / "bg-atlasgen"
bg_root_dir.mkdir(exist_ok=True, parents=True)

Check warning on line 254 in brainglobe_atlasapi/atlas_generation/atlas_scripts/blackcap.py

View check run for this annotation

Codecov / codecov/patch

brainglobe_atlasapi/atlas_generation/atlas_scripts/blackcap.py#L250-L254

Added lines #L250 - L254 were not covered by tests
Expand Down

0 comments on commit 6492188

Please sign in to comment.