forked from IPKM/nmreval
fix missing return of comments in asciireader
This commit is contained in:
parent
8d06240205
commit
c8287c2dbf
@ -41,7 +41,7 @@ class AsciiReader:
|
||||
|
||||
def make_preview(self, num_lines: int):
|
||||
if num_lines <= len(self.lines):
|
||||
return self.lines[:num_lines], max(self.width[:num_lines])
|
||||
return self.lines[:num_lines], max(self.width[:num_lines]), self.line_comment
|
||||
|
||||
num_lines += len(self.header)
|
||||
with self.fname.open('r') as f:
|
||||
|
Loading…
Reference in New Issue
Block a user