If both reactants and proteins are set to True no data is exported. Because of
if reactants:
measurement_data.update(data["reactants"])
if proteins:
measurement_data.update(data["proteins"])
the dictionary with data set from reactants gets replaced with the data from the proteins. Locally i resolved this with:
if reactants:
measurement_data.update(data["reactants"])
if proteins:
if 'initConc' in measurement_data and 'initConc' in data['proteins']:
measurement_data['initConc'] |= data["proteins"]['initConc']
else:
measurement_data.update(data["proteins"])
If both
reactants
andproteins
are set toTrue
no data is exported. Because ofthe dictionary with data set from
reactants
gets replaced with the data from the proteins. Locally i resolved this with: