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
def numlines(self): if self._numlines is None: self._numlines = countlines(self.fpath) - 1 return self._numlines