SepShr / MLCSHE

This repo houses the ML-Component Systemic Hazard Envelope project, or MILSCHE (pronounced /'mɪlʃ/).
MIT License
3 stars 0 forks source link

[report] ERROR: test_translate_scenario_list_testInput1 (tests.test_translate_scenario_list.TestTranslateScenarioList) #33

Closed donghwan-shin closed 2 years ago

donghwan-shin commented 2 years ago

This is from Dev-Sepehr (commit: f93ce0561d14e0ae95e6aeb32d05fb4b8030b4b3)

======================================================================
ERROR: test_translate_scenario_list_testInput1 (tests.test_translate_scenario_list.TestTranslateScenarioList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/donghwan.shin/Repositories/MLCSHE/tests/test_translate_scenario_list.py", line 15, in test_translate_scenario_list_testInput1
    translated_scenario_list = translate_scenario_list(scenario_list)
  File "/Users/donghwan.shin/Repositories/MLCSHE/problem_utils.py", line 88, in translate_scenario_list
    if scenario_list[2] == 0:
IndexError: list index out of range

----------------------------------------------------------------------
SepShr commented 2 years ago

Thank you for this. The bug is fixed in commit 0916212b8fdd9a208ce7d4e387bd4622069c288d and will be closed.