borevitzlab / timestreamlib

DEPRECATED. Please use the current version of the TimeStream tools at https://gitlab.com/appf-anu/pyts2.
https://gitlab.com/appf-anu/pyts2
GNU General Public License v3.0
7 stars 4 forks source link

catch error on image read in the parent class #129

Closed Joelgranados closed 9 years ago

Joelgranados commented 9 years ago

We need to put these types of statements:

        try:
             img = tsi.pixels
         except RIException:
             raise PCExCorruptImage(tsi.path)

in the parent class and not repeat them in all child classes.

Joelgranados commented 9 years ago

This is for pipecomponent.py

Joelgranados commented 9 years ago

done