Ejemplo n.º 1
0
 def next(self):
     """ returns the next file in the series as a fabioimage """
     if self.nframes == 1:
         return fabioimage.next(self)
     else:
         newFrameId = self.currentframe + 1
         return self.getframe(newFrameId)
Ejemplo n.º 2
0
 def next(self):
     """ returns the next file in the series as a fabioimage """
     if self.nframes == 1:
         return fabioimage.next(self)
     else:
         newFrameId = self.currentframe + 1
         return self.getframe(newFrameId)
Ejemplo n.º 3
0
 def next(self):
     """ returns the next file in the series as a fabioimage """
     newImage = None
     if self.nframes == 1:
         newImage = fabioimage.next(self)
     else:
         newFrameId = self.currentframe + 1
         newImage = self.getframe(newFrameId)
     return newImage
Ejemplo n.º 4
0
 def next(self):
     """ returns the next file in the series as a fabioimage """
     newImage = None
     if self.nframes == 1:
         newImage = fabioimage.next(self)
     else:
         newFrameId = self.currentframe + 1
         newImage = self.getframe(newFrameId)
     return newImage