Skip to content

Split config/panel.py over multiple files - #454

Merged
elhb merged 1 commit into
pna-2699from
split_panel
Aug 24, 2026
Merged

Split config/panel.py over multiple files#454
elhb merged 1 commit into
pna-2699from
split_panel

Conversation

@Aratz

@Aratz Aratz commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

config/panel.py has become enormous in #386, this PR splits it over several files to hopefully make the review a little easier.


Note

Low Risk
Pure file split with no intended behavior change. Residual risk is import-cycle or docstring-link breakage if a name is not re-exported correctly.

Overview
Turns the single ~1500-line pixelator.pna.config.panel module into a package so panel types, loaders, combinations, and diffs live in separate files.

Public names (PNAPanel, typed panels, PNAAntibodyPanelCombination, PNAAntibodyPanelDiff, loaders, and the deprecated PNAAntibodyPanel alias) are re-exported from panel/__init__.py, so existing from pixelator.pna.config.panel import ... usage should keep working. Sphinx cross-refs in a few docstrings were updated to the new submodule paths.

Reviewed by Cursor Bugbot for commit 7f9cd49. Bugbot is set up for automated code reviews on this repo. Configure here.

@Aratz
Aratz requested a review from elhb August 24, 2026 11:42

@elhb elhb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool thanks

@elhb
elhb merged commit edaf245 into pna-2699 Aug 24, 2026
13 checks passed
@elhb
elhb deleted the split_panel branch August 24, 2026 12:01
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