Closed jmrohwer closed 3 years ago
Thanks Johann! Closer inspection showed, that the updateModelParameters method is redundant, since unit conversion already happens at the level of the KineticModel initialization. Thus, a second conversion makes no sense. This was fixed in commit 30e1b77
The
__convertUnit()
was calling the unit ID, but it should be calling the unit string. The for loop should iterate over the dictionary items, not only the keys. The following diff fixes it.