Esempio n. 1
0
 def numlines(self):
     if self._numlines is None:
         if self.transposed is not None:
             self._numlines = len(self.transposed) - 1
         else:
             self._numlines = countlines(self.fpath) - 1
     return self._numlines
Esempio n. 2
0
 def numlines(self):
     if self._numlines is None:
         if self.transposed is not None:
             self._numlines = len(self.transposed) - 1
         else:
             self._numlines = countlines(self.fpath) - 1
     return self._numlines
Esempio n. 3
0
 def numlines(self):
     if self._numlines is None:
         self._numlines = countlines(self.fpath) - 1
     return self._numlines