Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvlaurent committed Nov 18, 2024
1 parent 33f1936 commit c465aa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/biotite/structure/io/pdbx/cif.py
Original file line number Diff line number Diff line change
Expand Up @@ -1045,9 +1045,9 @@ def _split_one_line(line):
# Loop over the line
while line:
# Strip leading whitespace(s)
striped_line = line.lstrip()
stripped_line = line.lstrip()
# Split the line on whitespace
word, _, line = striped_line.partition(" ")
word, _, line = stripped_line.partition(" ")
# Handle the case where the word start with a quote
if word.startswith(("'", '"')):
# Set the separator to the quote found
Expand All @@ -1058,7 +1058,7 @@ def _split_one_line(line):
yield word[1:-1]
continue
# split the word on the separator
word, _, line = striped_line[1:].partition(separator)
word, _, line = stripped_line[1:].partition(separator)

yield word

Expand Down

0 comments on commit c465aa5

Please sign in to comment.