Skip to content

Commit e2747e2

Browse files
committed
Small fixes
1 parent 69aca94 commit e2747e2

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

reproducibility/label_components/repro_label_components.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def repro_label_components(
3232
for dic in param_dicts:
3333
cochlea = dic["cochlea"]
3434
print(f"Labeling components for {cochlea}.")
35-
unet_version = dic["unet_version"]
3635

3736
threshold_erode = dic["threshold_erode"] if "threshold_erode" in dic else default_threshold_erode
3837
min_component_length = dic["min_component_length"] if "min_component_length" in dic else default_min_length

scripts/dilate_sgns.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
LOWER_RESOLUTION_DIR = "/mnt/vast-nhr/projects/nim00007/data/moser/cochlea-lightsheet/lower_resolution"
99

10+
1011
def dilate_sgns(in_path, out_path, dilation_distance, block_shape=[64, 128, 128], halo=[8, 16, 16]):
1112
print(f"Dilating {in_path} with dilation distance {dilation_distance}.")
1213
seg = tifffile.imread(in_path).astype("uint32")

scripts/measurements/sgn_subtypes.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@ def stain_to_type(stain):
135135
# Prph is isolated.
136136
"Prph+": "Type II",
137137
"Prph-": "Type I",
138+
139+
# Combinations of CR and Ntng1
140+
"CR+/Ntng1+": "Type Ib",
141+
"CR+/Ntng1-": "Type Ia",
142+
"CR-/Ntng1+": "Type Ic",
143+
"CR-/Ntng1-": "inconclusive",
144+
138145
}
139146

140147
if stain_norm not in stain_to_type:

0 commit comments

Comments
 (0)