5497ef65228a48e6d7f89616f9dc683b34458bb9,pysb/generator/kappa.py,,format_complexpattern,#Any#,146
Before Change
def format_complexpattern(cp):
if cp is None:
return "."
ret = ",".join(filter(None, [format_monomerpattern(mp)
for mp in cp.monomer_patterns]))
if cp.compartment is not None:
ret = "@%s:%s" % (cp.compartment.name, ret)
return ret
def format_monomerpattern(mp):
// sort sites in the same order given in the original Monomer
After Change
def format_complexpattern(cp):
return KappaGenerator(None).format_complexpattern(cp)
def format_monomerpattern(mp):
return KappaGenerator(None).format_monomerpattern(mp)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: pysb/pysb
Commit Name: 5497ef65228a48e6d7f89616f9dc683b34458bb9
Time: 2018-05-30
Author: code@alexlubbock.com
File Name: pysb/generator/kappa.py
Class Name:
Method Name: format_complexpattern
Project Name: pysb/pysb
Commit Name: 5497ef65228a48e6d7f89616f9dc683b34458bb9
Time: 2018-05-30
Author: code@alexlubbock.com
File Name: pysb/generator/kappa.py
Class Name:
Method Name: format_reactionpattern
Project Name: pysb/pysb
Commit Name: 5497ef65228a48e6d7f89616f9dc683b34458bb9
Time: 2018-05-30
Author: code@alexlubbock.com
File Name: pysb/generator/kappa.py
Class Name:
Method Name: format_monomerpattern