Skip to content

Commit

Permalink
adapt PySCeS Thinlayer to refactored structure/syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrohwer committed Feb 1, 2022
1 parent c38e2cc commit b9b84c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyenzyme/thinlayers/TL_Pysces.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def _getExperimentalData(self):
# ? It is now possible to ensure, that the units are the same: m.unifyUnits(kind="mole", scale=-3)
measurement_data = m.exportData()
replicate_df = measurement_data['reactants']['data']
rename_dict = {i: i.split('/')[-2] for i in replicate_df.columns}
replicate_df.rename(rename_dict, axis=1, inplace=True)
# rename_dict = {i: i.split('/')[-2] for i in replicate_df.columns}
# replicate_df.rename(rename_dict, axis=1, inplace=True)

inits_dict = {}

Expand Down Expand Up @@ -111,7 +111,7 @@ def _getParamsFromEnzymeML(self):
params = {}
for rID, r in self.enzmldoc.reaction_dict.items():
for kinetic_parameter in r.model.parameters:
params[f"{rID}_{kinetic_parameter.id}"] = kinetic_parameter.value
params[f"{rID}_{kinetic_parameter.name}"] = kinetic_parameter.value
return params

def _makeLmfitParameters(self):
Expand Down

0 comments on commit b9b84c2

Please sign in to comment.