Skip to content

Commit

Permalink
fix: removed unnecessary line skip (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdickerson95 authored Nov 18, 2024
1 parent eedf6f3 commit 36728a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/starfile/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 36728a8

Please sign in to comment.