Пример #1
0
 def previous(self):
     """ returns the previous file in the series as a fabioimage """
     if self.nframes == 1:
         return fabioimage.previous(self)
     else:
         newFrameId = self.currentframe - 1
         return self.getframe(newFrameId)
Пример #2
0
 def previous(self):
     """ returns the previous file in the series as a fabioimage """
     if self.nframes == 1:
         return fabioimage.previous(self)
     else:
         newFrameId = self.currentframe - 1
         return self.getframe(newFrameId)
Пример #3
0
 def previous(self):
     """ returns the previous file in the series as a fabioimage """
     newImage = None
     if self.nframes == 1:
         newImage = fabioimage.previous(self)
     else:
         newFrameId = self.currentframe - 1
         newImage = self.getframe(newFrameId)
     return newImage
Пример #4
0
 def previous(self):
     """ returns the previous file in the series as a fabioimage """
     newImage = None
     if self.nframes == 1:
         newImage = fabioimage.previous(self)
     else:
         newFrameId = self.currentframe - 1
         newImage = self.getframe(newFrameId)
     return newImage