Skip to content

Commit 2114b47

Browse files
committed
Update script
1 parent 2662710 commit 2114b47

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

scripts/measurements/measure_synapses.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
def check_project(plot=False, save_ihc_table=False, max_dist=None):
1313
s3 = create_s3_target()
14-
cochleae = ['M_LR_000226_L', 'M_LR_000226_R', 'M_LR_000227_L', 'M_LR_000227_R']
15-
synapse_table_name = "synapse_v3_ihc_v4"
16-
ihc_table_name = "IHC_v4"
14+
cochleae = ['M_LR_000226_L', 'M_LR_000226_R', 'M_LR_000227_L', 'M_LR_000227_R', 'M_AMD_OTOF1_L']
15+
synapse_table_name = "synapse_v3_ihc_v4c"
16+
ihc_table_name = "IHC_v4c"
1717

1818
results = {}
1919
for cochlea in cochleae:

scripts/prediction/postprocess_ihc_synapse.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
import imageio.v3 as imageio
66
import pandas as pd
7-
import zarr
87
from elf.io import open_file
8+
99
import flamingo_tools.segmentation.ihc_synapse_postprocessing as ihc_synapse_postprocessing
1010
from flamingo_tools.file_utils import read_image_data
1111

@@ -63,9 +63,6 @@ def main():
6363

6464
if args.tif:
6565
imageio.imwrite(args.out_path, output_, compression="zlib")
66-
else:
67-
with zarr.open(args.out_path, mode="a") as f_out:
68-
f_out.create_dataset(args.out_key, data=output_, compression="gzip")
6966

7067

7168
if __name__ == "__main__":

0 commit comments

Comments
 (0)