From 36728a8e03b27ee73ef79cd7fb2a8de06355c5e8 Mon Sep 17 00:00:00 2001 From: Josh Dickerson Date: Mon, 18 Nov 2024 10:13:03 -0800 Subject: [PATCH] fix: removed unnecessary line skip (#73) --- src/starfile/parser.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/starfile/parser.py b/src/starfile/parser.py index 768a035..4e0acad 100644 --- a/src/starfile/parser.py +++ b/src/starfile/parser.py @@ -65,7 +65,6 @@ def parse_file(self): def _parse_data_block(self) -> Tuple[str, DataBlock]: # current line starts with 'data_foo' block_name = self.current_line[5:] # 'data_foo' -> 'foo' - self.current_line_number += 1 # iterate over file, while self.current_line_number <= self.n_lines_in_file: