Refactoring for fun, don't merge!#1105
Draft
keejkrej wants to merge 21 commits into
Draft
Conversation
9eca9c8 to
7022df9
Compare
…iewmodels and split gui.py
…M components directly into views
…rors, and format with ruff
Move all guiWin methods verbatim into cellacdc/mixins with class names without the Mixin suffix, keep only __init__ and run in gui.py, and add gui_decorators for shared decorators. Remove mixins_bak trial code. Co-authored-by: Cursor <cursoragent@cursor.com>
Relocate WhitelistGUIElements and combine channel classes from whitelist.py and gui_combine.py into mixins/ as WhitelistGui, CombineGui, and CombineWorker. Restore gui module path constants needed by _main.py. Co-authored-by: Cursor <cursoragent@cursor.com>
Express mixin dependencies as a layered parent map so each class inherits its upstream mixins, trim guiWin to 21 root bases, and add tooling to maintain the graph without invalid MRO or import cycles. Co-authored-by: Cursor <cursoragent@cursor.com>
Introduce basic, visualization, and segmentation entry points with curated mixin bundles, optional action wiring for slim windows, and mixin import fixes so each variant starts cleanly. Co-authored-by: Cursor <cursoragent@cursor.com>
…lows." This reverts commit a9e52f5.
Split widgets.py into focused component modules while keeping widgets.py and _base_widgets.py as compatibility re-exports. Co-authored-by: Cursor <cursoragent@cursor.com>
…uns. Model CLI/GUI pipelines as composable state graphs and wire kernels, workers, and batch orchestration through them to decouple pipeline flow from imperative kernel logic. Co-authored-by: Cursor <cursoragent@cursor.com>
Move myutils, workers, widgets, and apps into focused subpackages so each module has a single responsibility while preserving existing import paths for callers. Co-authored-by: Cursor <cursoragent@cursor.com>
Clarify module boundaries: utils holds shared helpers, tools holds Utilities-menu batch workflows. Co-authored-by: Cursor <cursoragent@cursor.com>
Break up the remaining widget god modules by rendering role while keeping widgets.* imports working through the package barrel. Co-authored-by: Cursor <cursoragent@cursor.com>
Expose Viewer, run, and get_qapp so scripts can open Segmentation and Tracking mode directly without the mainWin launcher. Co-authored-by: Cursor <cursoragent@cursor.com>
Decouple data construction from the GUI so notebooks can pass in-memory arrays or filesystem paths through Viewer and imshow without viewer.open(). Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.