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

first attempt of a soleil reader which can read a stack of images. #329

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

picca
Copy link

@picca picca commented Jul 26, 2019

Hello, can you tel me if this is ok for you

thanks

Fred, with this I can read a soleil file a see a stack of image out of the box from fabio_viewer

@picca picca force-pushed the master branch 5 times, most recently from 6de4cb2 to 4e2f938 Compare July 26, 2019 21:47
obj = fabioformats.factory(klass_name)
objs.append(obj)
except (RuntimeError, Exception):
pass
Copy link
Member

Choose a reason for hiding this comment

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

We should a least log the fact there was an exception ...
Beside this Runtime derives from Exception ...

In [4]: RuntimeError.__mro__
Out[4]: (RuntimeError, StandardError, Exception, BaseException, object)

So except Exception as err should be enough

@kif
Copy link
Member

kif commented Jul 29, 2019

Can you provide us with a test and a reference test-image ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants