forked from IPKM/nmreval
fix data look-up for multiple fit models
This commit is contained in:
parent
0046d04683
commit
f9bb466cb3
@ -454,8 +454,8 @@ class UpperManagement(QtCore.QObject):
|
||||
# iterate over order of set id in active order and access parameter inside loop
|
||||
# instead of directly looping
|
||||
try:
|
||||
list_ids = list(model_p['data_parameter'].keys())
|
||||
set_order = [self.active_id.index(i) for i in list_ids]
|
||||
list_ids = list(self.active_id)
|
||||
set_order = [self.active_id.index(i) for i in model_p['data_parameter'].keys()]
|
||||
except ValueError as e:
|
||||
raise Exception('Getting order failed') from e
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user