Added line baseline_list.loc[line, parameter] = par.value after the existing code block
for key, par in result.params.items():
if ('Concentration' in par.name) or ('baseline' in par.name) or ('x_shift' in par.name):
parameter = par.name[:(par.name.find('_', par.name.find('_')+1))]
line = int(par.name[(par.name.find('_', par.name.find('_')+1))+1:])
This was in the code block for other parameter updates, but was missing for the concentration, baseline, and x-shift
Added line
baseline_list.loc[line, parameter] = par.value
after the existing code blockThis was in the code block for other parameter updates, but was missing for the concentration, baseline, and x-shift