ignore sets without start parameter in fit prep
This commit is contained in:
parent
843866be45
commit
728eb34ca7
@ -467,15 +467,15 @@ class UpperManagement(QtCore.QObject):
|
||||
m_complex = model_p['complex']
|
||||
|
||||
for set_id in list_ids:
|
||||
if set_id not in model_p['data_parameter']:
|
||||
continue
|
||||
|
||||
try:
|
||||
data_i = self.data[set_id]
|
||||
except KeyError as e:
|
||||
raise KeyError(f'{set_id} not found') from e
|
||||
|
||||
try:
|
||||
set_params = model_p['data_parameter'][set_id]
|
||||
except KeyError as e:
|
||||
raise KeyError(f'No parameter found for {set_id}') from e
|
||||
set_params = model_p['data_parameter'][set_id]
|
||||
|
||||
if we_option.lower() == 'deltay':
|
||||
we = data_i.y_err**2
|
||||
|
Loading…
Reference in New Issue
Block a user