Skip to content

Reject configs where an output.write_* flag has no matching extractio… - #33

Merged
annmoel merged 1 commit into
mainfrom
feat/config-output-validation
Sep 4, 2026
Merged

Reject configs where an output.write_* flag has no matching extractio…#33
annmoel merged 1 commit into
mainfrom
feat/config-output-validation

Conversation

@annmoel

@annmoel annmoel commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

…n flag

output.write_branch_csv/write_node_csv/write_radius silently no-op when their paired extraction.branches/nodes/mask_radius flag is off - no error, no warning, and maskel validate still printed "Configuration is valid." Enforced in PipelineConfig.from_dict (covers both maskel validate and maskel run --config) rather than at construction time, since a config built incrementally in napari-maskel's widget can be transiently inconsistent mid-edit without ever going through from_dict.

…n flag

output.write_branch_csv/write_node_csv/write_radius silently no-op when
their paired extraction.branches/nodes/mask_radius flag is off - no error,
no warning, and `maskel validate` still printed "Configuration is valid."
Enforced in PipelineConfig.from_dict (covers both `maskel validate` and
`maskel run --config`) rather than at construction time, since a config
built incrementally in napari-maskel's widget can be transiently
inconsistent mid-edit without ever going through from_dict.
@annmoel
annmoel merged commit 58b3eae into main Sep 4, 2026
1 check passed
@annmoel
annmoel deleted the feat/config-output-validation branch September 4, 2026 11:48
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.

1 participant