Skip to content

Custom cellpose model#194

Draft
mat10d wants to merge 25 commits intomainfrom
custom_cellpose_model
Draft

Custom cellpose model#194
mat10d wants to merge 25 commits intomainfrom
custom_cellpose_model

Conversation

@mat10d
Copy link
Collaborator

@mat10d mat10d commented Feb 10, 2026

Description

Thank you for your contribution to Brieflow!
Please succinctly summarize your proposed change.
What motivated you to make this change?

Please also link to any relevant issues that your code is associated with.

What is the nature of your change?

  • Bug fix (fixes an issue).
  • Enhancement (adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • This change requires a documentation update.

Checklist

Please ensure that all boxes are checked before indicating that a pull request is ready for review.

  • My code follows the conventions of this project.
  • I have updated the pyproject.toml to reflect the change as designated by semantic versioning.
  • I have checked linting and formatting with ruff check and ruff format.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have deleted all non-relevant text in this pull request template.

acepedadiaz and others added 25 commits January 29, 2026 15:02
* conditional cytoplasm mask

* initial commit, refactoring second obj segmentation

* added thresholding options

* added visualization of thresholded output

* ruff check and format

* adds helper visualization function

* snakemake integration

* updated parameters and added scaffold for ML-based segmentation

* ruff check and format

* code consolidation

* improved documentation

* code consolidation and reformatting

* remove foci channel from second_obj pheno extraction, rename foci_channel_index elsewhere

* fixed bug foci_channel param passing

* fixed import of second obj features

* conditional cytoplasm mask

* Integrated secondary object segmentation with ml models

* ruff format

* disabled secondary object detection for test data

* consistent naming with config and notebook

* fixed ML parameter passing in script identify_second_objs.py

* fixed general config parameters

---------

Co-authored-by: edeny <edeny@fry.wi.mit.edu>
Co-authored-by: acepedadiaz <acepedadiaz@fry.wi.mit.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments