Skip to content

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