Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
keurfonluu committed Jun 12, 2022
1 parent 1d10344 commit 653324c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toughio/_io/input/tough/_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ def _read_eleme(f, label_length):
label = label_format.format(data[0])
rock = data[3]
if rock:
rock = data[3].strip()
rock = rock.strip()
rock = int(rock) if rock.isdigit() else rock
eleme["elements"][label] = {
"nseq": data[1],
Expand Down

0 comments on commit 653324c

Please sign in to comment.