Skip to content

Commit e524818

Browse files
committed
Removed deprecated structures
1 parent 3d007bd commit e524818

File tree

3 files changed

+5
-30
lines changed

3 files changed

+5
-30
lines changed

brainprint/asymmetry.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,10 @@ def compute_asymmetry(
2828
Dict[str, float]
2929
{left_label}_{right_label}, distance.
3030
"""
31-
# Define structures
32-
33-
# combined and individual aseg labels:
34-
# - Left Striatum: left Caudate + Putamen + Accumbens
35-
# - Right Striatum: right Caudate + Putamen + Accumbens
36-
# - CorpusCallosum: 5 subregions combined
37-
# - Cerebellum: brainstem + (left+right) cerebellum WM and GM
38-
# - Ventricles: (left+right) lat.vent + inf.lat.vent + choroidplexus + 3rdVent + CSF
39-
# - Lateral-Ventricle: lat.vent + inf.lat.vent + choroidplexus
40-
# - 3rd-Ventricle: 3rd-Ventricle + CSF
4131

4232
structures_left_right = [
43-
("Left-Striatum", "Right-Striatum"),
4433
("Left-Lateral-Ventricle", "Right-Lateral-Ventricle"),
45-
(
46-
"Left-Cerebellum-White-Matter",
47-
"Right-Cerebellum-White-Matter",
48-
),
49-
("Left-Cerebellum-Cortex", "Right-Cerebellum-Cortex"),
34+
("Left-Cerebellum", "Right-Cerebellum"),
5035
("Left-Thalamus-Proper", "Right-Thalamus-Proper"),
5136
("Left-Caudate", "Right-Caudate"),
5237
("Left-Putamen", "Right-Putamen"),

brainprint/cli/help_text.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,11 @@
4747
4848
CorpusCallosum [251, 252, 253, 254, 255]
4949
Cerebellum [7, 8, 16, 46, 47]
50-
Ventricles [4, 5, 14, 24, 31, 43, 44, 63]
5150
3rd-Ventricle [14, 24]
5251
4th-Ventricle 15
5352
Brain-Stem 16
54-
Left-Striatum [11, 12, 26]
5553
Left-Lateral-Ventricle [4, 5, 31]
56-
Left-Cerebellum-White-Matter 7
57-
Left-Cerebellum-Cortex 8
54+
Left-Cerebellum [7, 8]
5855
Left-Thalamus-Proper 10
5956
Left-Caudate 11
6057
Left-Putamen 12
@@ -63,10 +60,8 @@
6360
Left-Amygdala 18
6461
Left-Accumbens-area 26
6562
Left-VentralDC 28
66-
Right-Striatum [50, 51, 58]
6763
Right-Lateral-Ventricle [43, 44, 63]
68-
Right-Cerebellum-White-Matter 46
69-
Right-Cerebellum-Cortex 47
64+
Right-Cerebellum [46, 47]
7065
Right-Thalamus-Proper 49
7166
Right-Caudate 50
7267
Right-Putamen 51

brainprint/utils/tests/test_files.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ def test_files_exist_in_directory(sample_subjects_dir, sample_subject_id):
2727
surface_directory = os.path.join(output_directory, "surfaces")
2828
surface_files = [
2929
"aseg.final.10.vtk",
30-
"aseg.final.47.vtk",
31-
"aseg.final.11_12_26.vtk",
3230
"aseg.final.49.vtk",
3331
"aseg.final.11.vtk",
34-
"aseg.final.50_51_58.vtk",
3532
"aseg.final.12.vtk",
3633
"aseg.final.50.vtk",
3734
"aseg.final.13.vtk",
@@ -49,16 +46,14 @@ def test_files_exist_in_directory(sample_subjects_dir, sample_subject_id):
4946
"aseg.final.251_252_253_254_255.vtk",
5047
"aseg.final.7_8_16_46_47.vtk",
5148
"aseg.final.26.vtk",
52-
"aseg.final.7.vtk",
49+
"aseg.final.7_8.vtk",
5350
"aseg.final.28.vtk",
54-
"aseg.final.8.vtk",
5551
"aseg.final.43_44_63.vtk",
5652
"lh.pial.vtk",
57-
"aseg.final.4_5_14_24_31_43_44_63.vtk",
5853
"lh.white.vtk",
5954
"aseg.final.4_5_31.vtk",
6055
"rh.pial.vtk",
61-
"aseg.final.46.vtk",
56+
"aseg.final.46_47.vtk",
6257
"rh.white.vtk",
6358
]
6459

0 commit comments

Comments
 (0)