Closed janinemelsen closed 3 months ago
Hi! It's an issue with the argument order. We'll get a PR in to fix this, but for now you can replace the code in the notebook with the below and it should work!
data_utils.generate_and_save_neighborhood_cluster_masks(
fovs=subset_neighborhood_fovs,
save_dir=overlay_out_dir,
neighborhood_data=all_data_cluster_labeled,
seg_dir=segmentation_dir,
name_suffix='_neighborhood_mask')
Creating the neighborhood cluster mask using the example dataset as described in the the example_neighborhood_analysis_script led to the following error:
data_utils.generate_and_save_neighborhood_cluster_masks( subset_neighborhood_fovs, overlay_out_dir, all_data_cluster_labeled, segmentation_dir, name_suffix='_neighborhood_mask' )