added test for hybridIA
This commit is contained in:
parent
0cfe35dfe6
commit
120b2b8bd2
|
@ -425,7 +425,7 @@ class ASCIItable():
|
||||||
read next line (possibly buffered) and parse it into data array
|
read next line (possibly buffered) and parse it into data array
|
||||||
'''
|
'''
|
||||||
self.line = self.__IO__['readBuffer'].pop(0) if len(self.__IO__['readBuffer']) > 0 \
|
self.line = self.__IO__['readBuffer'].pop(0) if len(self.__IO__['readBuffer']) > 0 \
|
||||||
else self.__IO__['in'].readline().strip # take buffered content or get next data row from file
|
else self.__IO__['in'].readline().strip() # take buffered content or get next data row from file
|
||||||
|
|
||||||
if not advance:
|
if not advance:
|
||||||
self.__IO__['readBuffer'].append(self.line) # keep line just read in buffer
|
self.__IO__['readBuffer'].append(self.line) # keep line just read in buffer
|
||||||
|
|
Loading…
Reference in New Issue