Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Error Handling & Documentation in ImageDataProcessor #1209

Open
samdporter opened this issue Aug 22, 2023 · 0 comments
Open

Improve Error Handling & Documentation in ImageDataProcessor #1209

samdporter opened this issue Aug 22, 2023 · 0 comments

Comments

@samdporter
Copy link
Contributor

samdporter commented Aug 22, 2023

https://github.com/SyneRBI/SIRF/blob/1bb1b111a80f48df5e491a8ee9201715d4e9db42/src/xSTIR/pSTIR/STIR.py#L757C6-L759C27

Documentation for ImageDataProcessor a little light on detail.

It would also be useful to have a more informative error message when the error occurs from code such as

filter = sirf.STIR.TruncateToCylinderProcessor() 
filter.apply(image) 
filtered_image = filter.get_output()

Currently only AttributeError: 'TruncateToCylinderProcessor' object has no attribute 'output'

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

No branches or pull requests

1 participant