Skip to content

Commit

Permalink
Update TL_Copasi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Nov 30, 2021
1 parent 7465ede commit ecc0bad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyenzyme/thinlayers/TL_Copasi.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ def importEnzymeML(
# Get reaction and replicates
reaction = enzmldoc.getReaction(reaction_id)

# Unify units according to selected reactant for
# COPASI consistency in calculation
self.unifyUnits(reactants[0], reaction, enzmldoc, 'mole')
# Set up the kind of unit and scale the measurements will be set to
# ? Exponent and multiplier also important
kind = "mole"
scale = -3

# initialize COPASI data model
dm = COPASI.CRootContainer.addDatamodel()
Expand Down

0 comments on commit ecc0bad

Please sign in to comment.