Skip to content

Commit

Permalink
LPdiag: typo corrected.
Browse files Browse the repository at this point in the history
Corrected in the text of diagnostics message..
  • Loading branch information
marek-iiasa committed Jul 27, 2023
1 parent f3a3e38 commit 4e61d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message_ix/tools/lp_diag/lp_diag.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def add_range(self, words, n_line):
), f"unknown ranges row-name {row_name} (line {n_line})."
val = float(words[pos_name + 3])
assert type(val) == float, (

Check warning on line 494 in message_ix/tools/lp_diag/lp_diag.py

View check run for this annotation

Codecov / codecov/patch

message_ix/tools/lp_diag/lp_diag.py#L493-L494

Added lines #L493 - L494 were not covered by tests
f"Ranges value {words[pos_name + 1]} (line {n_line}) is" " nota number."
f"Ranges value {words[pos_name + 1]} (line {n_line}) is" " not a number."
)
attr = self.seq_row.get(row_seq) # [row_name, lo_bnd, up_bnd, row_type]
row_type = attr[3]
Expand Down

0 comments on commit 4e61d8f

Please sign in to comment.