uncharted-aske / HMI

Apache License 2.0
1 stars 0 forks source link

Fix incorrect graph type crash in models view #378

Closed mj3cheun closed 3 years ago

mj3cheun commented 3 years ago

Fixes crash when attempting to open CHIME_SIR from a fresh state due to incorrect assumed graph type.

To test, from a fresh state, opening SimpleSIR_metadata, CHIME_SIR, and SimpleChime+ model views should not result in any errors (either visible or in console). The correct graph type should be used for CHIME_SIR and SimpleChime+. Graph type switching should be unaffected in the SimpleSIR_metadata model.