Skip to content

Conversation

@akcd1
Copy link
Collaborator

@akcd1 akcd1 commented Dec 5, 2025

Description

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

Added the option to segment ang phenotype additional objects contained within cells.

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.

@akcd1 akcd1 requested a review from mat10d December 5, 2025 20:09
@mat10d
Copy link
Collaborator

mat10d commented Dec 7, 2025

@akcd1 the tests are failing on something that suggests that you haven't properly rebased main. I would remerge asap.

@akcd1
Copy link
Collaborator Author

akcd1 commented Dec 8, 2025

re-based

acepedadiaz and others added 5 commits December 10, 2025 14:23
* 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.

4 participants