Skip to content

Propagate conversion and resampling process failures - #15

Merged
fedorov merged 1 commit into
ImagingDataCommons:mainfrom
jdotc1:fix/propagate-convert-resample-failures
Oct 14, 2026
Merged

fedorov merged 1 commit into
ImagingDataCommons:mainfrom
jdotc1:fix/propagate-convert-resample-failures

Conversation

@jdotc1

@jdotc1 jdotc1 commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

convert and resample currently print subprocess failures and return normally, allowing callers to continue after failed output generation. Re-raise the original exception in both handlers; successful command-return behavior is preserved.

Validation: Reused historical shared-handler excerpt receipts; new preparation/ImagingDataCommons--pyplastimatch-wrapper-receipt.json confirms original failure identity and successful command return for convert/resample with and without mocked log files.

Scope: Failure propagation is an intentional behavior change. No real Plastimatch execution or output validation; dice/hd handlers remain outside scope.

@fedorov
fedorov merged commit 3e4348e into ImagingDataCommons:main Oct 14, 2026
@fedorov

fedorov commented Oct 14, 2026

Copy link
Copy Markdown
Member

Note that this repository is not maintained. You may want to consider this package that is up to date with the upstream plastimatch library, and packages platform-specific CLIs: https://github.com/ImagingDataCommons/plastimatch-python-distributions.

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