Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added started ez_seg file + test * applied filters.threshold_local's output to create a binary mask * Adding merge_mask functionality to be later built into merge_masks notebook. * added composite builder functionality - ready for refactoring * ezseg_v1 notebook * Second version of ez notebook started, changes to composite builder and mask merging, as well as new within-notebook display functionality found in ez_seg_display.py. * Added a relabeleing step necessary for masks merging. Need to test it's mask vs channel import setup. * refactor stage 1 refactor stage 2 * refactoring pt.2 refactor refactor pt.3 * refactor pt. 3 * added ez_seg folder in tests * switch order of composite builder & mask creator, added mask_name to mask creator section of notebook * notebook adjustments * notebook adjustments v3 * modified: templates/ez_testing/ezseg_v2.ipynb * refactor sections 1-3 * removed unused import * renumber mask adjustments * Switched ordering of mask merge and mask relabeling. Additionally updated cell table function with appropriate path names. Need to ensure this will loop through entire ez_masks to create a single table. * Renamed the dir input to cell table creation as root_mask_dir to account for additional sources of masks. * Composite builder now iterates over all input fov's. Bug fixed where add & subtract weren't working due to array type of uint8 (changed to int). * Fixed problem with ez segmentation mask maker not performing size exclusion properly due to lack of boolean screen. Additionally re-wrote mask saving. * Updated visuals for composite, mask overlay. Updated notebook with multiple different input parameters for seg. Fixed issue with segmentation process where import of a folder with one tiff could not be read into _create_object_masks. * Updated display code and notebook cells for ez segmentation step. * Updated ez segmentation, merging, and mask display functions. * Fixed relabeline of all masks in merged mask dir. * base mantis project for ezseg data * docs, nb cleanup * ezseg_utils fix * Updated ez object cell table creation in marker_quantification file. Additional package loading fixes done. * Refactored ez notebook and modules, added log creator. * cleaned up naming, variable, errors across all ez code. * Final code quality changes for v1 publish. * Changes for merge. * Code and ouput cleanup. * More cleanup before merge. * Removed old templates. * notebook cleanup * Initial commit of ezSegmenter example dataset integration * Initial notebook commit * Fix CI file to use Python 3.11 * Skip the create_object_masks test * Remove syntax errors * Doc fixes * Type hinting fix * Add full notebook testing for ez_segmenter notebook * More doc fixes (multiple_mask_displays) * Update tests for ezSeg example dataset * Officially merge ezSegmenter example dataset in * Ensure easier naming of files by specifying additional path to ezSegmentation directory * Changed example data dir structure. * Clean up path specification for example dataset ez_seg data download * Account for new 'mask_type' column that gets generated in the cell table * Fix marker_quantification tests * Begin adding tests for ez_seg_utils.py * Add all tests except for split_csvs_by_mask * Added image directory subfolder capability to composites, ez_obj_seg, plus other minor fixes. * CSV filter testing fleshed out * Make sure csv_substr_replace arg gets updated in notebook too * Doc fixes * Updated display functions with subfolder access. * tests mostly finalized * Remove old start_jupyter.sh notebook * merge latest * notebook tests, try CI * reran ez_seg nb * replace A | B with Union[A,B] * missed an Optional * as_posix -> as_uri, TestClusterMaskData fix * removed a platform specific assert * removed assert for fov_mapping * Fixed thresholding issue in seg, fixed csv sepeartion in utils. * Ensure that if the csv file doesn't contain csv_to_replace, fix it * Fix nbviewer notebook error. * Added readme information, fixed jupyter json error. * -1 -> 'auto' for clarity, rounded and set dtype to int after gaussian filter in `ez_object_segmentation._create_object_mask` * Fixed subdirectory issue when using a composite image. * Add testing for merge masks * Add full testing for composites.py * Remove print statements from composites.py * Ensure fixtures get reset for each test * Fixed segmentation issue due to a round error, updated displays, added final_mask_dir util, notebook fixes. * Add testing for find_and_copy_files * Add missing notebook tags back and reformat notebook tests to preserve order * Fixed a recursive file copy issue. * Fix check for file to root * Coerce Path types to str for find_and_copy_files * Add new composite types to example_dataset_test * Update type annotation of find_and_copy_files to pathlib.Path, not List[str] * Remove extraneous composite names * Update file names in new ezSegmenter example dataset * Formatting fix --------- Co-authored-by: bryjcannon <bryjcannon@gmail.com> Co-authored-by: alex-l-kong <alkong@ucdavis.edu> Co-authored-by: alex-l-kong <31424707+alex-l-kong@users.noreply.github.com>
- Loading branch information