File tree Expand file tree Collapse file tree 5 files changed +752
-4
lines changed
starrynight/src/starrynight Expand file tree Collapse file tree 5 files changed +752
-4
lines changed Original file line number Diff line number Diff line change @@ -328,12 +328,12 @@ def generate_illum_apply_pipeline(
328328 # save_image.root_dir.value = ""
329329 save_image .stack_axis .value = AXIS_T
330330 # save_image.tiff_compress.value = ""
331- pipeline .add_module (save_image )
332331
333332 if not for_sbs :
334333 save_image .single_file_name .value = f"\\ g<Batch>_\\ g<Plate>_Well_\\ g<Well>_Site_\\ g<Site>_{ col .replace ('Orig' , 'Corr' )} "
335334 else :
336335 save_image .single_file_name .value = f"\\ g<Batch>_\\ g<Plate>_\\ g<Cycle>_Well_\\ g<Well>_Site_\\ g<Site>_{ col .replace ('Orig' , 'Corr' )} "
336+ pipeline .add_module (save_image )
337337 return pipeline
338338
339339
Original file line number Diff line number Diff line change @@ -213,11 +213,11 @@ def gen_pre_segcheck_load_data_by_batch_plate(
213213 if not for_sbs :
214214 images_df = df .filter (
215215 pl .col ("is_sbs_image" ).ne (True ), pl .col ("is_image" ).eq (True )
216- )
216+ ). sample ( fraction = 0.1 )
217217 else :
218218 images_df = df .filter (
219219 pl .col ("is_sbs_image" ).eq (True ), pl .col ("is_image" ).eq (True )
220- )
220+ ). sample ( fraction = 0.1 )
221221
222222 images_hierarchy_dict = gen_image_hierarchy (images_df )
223223
@@ -437,7 +437,12 @@ def generate_pre_segcheck_pipeline(
437437 export_measurements .delimiter .value = DELIMITER_COMMA
438438 export_measurements .directory .value = f"{ DEFAULT_OUTPUT_FOLDER_NAME } |"
439439 export_measurements .wants_prefix .value = True
440- export_measurements .prefix .value = "PreSegcheck"
440+ if not for_sbs :
441+ export_measurements .prefix .value = "\\ g<Batch>_\\ g<Plate>_PreSegcheck"
442+ else :
443+ export_measurements .prefix .value = (
444+ "\\ g<Batch>_\\ g<Plate>_\\ g<Cycle>_PreSegcheck"
445+ )
441446 export_measurements .wants_overwrite_without_warning .value = False
442447 export_measurements .add_metadata .value = False
443448 export_measurements .add_filepath .value = False
You can’t perform that action at this time.
0 commit comments