-
Notifications
You must be signed in to change notification settings - Fork 170
lp_diag parsing error #945
Copy link
Copy link
Open
Labels
bugDoesn't work as advertised/unintended effectsDoesn't work as advertised/unintended effects
Milestone
Description
What happened?
When running lp_diag on my mps file the parser fails.
I get this type of parser fail
example of the line in the mps file
"G COMMODITY_BALANCE_GT(R12_AFR,'Fertilizer Use|Nitrogen',final_material,2035,year)"
Code Sample
in __init__ inside message_ix\tools\lp_diag
ln 248
in add_row
assert n_words == 2, (
^^^^^^^^^^^^
AssertionError: row declaration (line 7917) has 3 words instead of 2.What did you expect to happen?
example of the line in the mps file
"G COMMODITY_BALANCE_GT(R12_AFR,'Fertilizer Use|Nitrogen',final_material,2035,year)"
Versions
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugDoesn't work as advertised/unintended effectsDoesn't work as advertised/unintended effects