From c8287c2dbf660807b7c1bfb5244ab2a7409e2f26 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Tue, 30 May 2023 17:42:12 +0200 Subject: [PATCH] fix missing return of comments in asciireader --- src/nmreval/io/asciireader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmreval/io/asciireader.py b/src/nmreval/io/asciireader.py index e8a19ea..28ddbf8 100644 --- a/src/nmreval/io/asciireader.py +++ b/src/nmreval/io/asciireader.py @@ -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: