File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ def add_fit_items(parameters):
78
78
79
79
# if we found it, get its internal identifier and create the item
80
80
item = problem .addOptItem (cn )
81
- item .setLowerBound (COPASI .CCommonName (str (lower ))) # set the lower
82
- item .setUpperBound (COPASI .CCommonName (str (upper ))) # and upper bound
81
+ item .setLowerBound (COPASI .CRegisteredCommonName (str (lower ))) # set the lower
82
+ item .setUpperBound (COPASI .CRegisteredCommonName (str (upper ))) # and upper bound
83
83
item .setStartValue (value ) # as well as the initial value
84
84
85
85
Original file line number Diff line number Diff line change @@ -750,10 +750,10 @@ def add_fit_items(self, parameters):
750
750
item = problem .addOptItem (cn )
751
751
if np .isnan (lower ):
752
752
lower = math .pow (10 , - 6 )
753
- item .setLowerBound (COPASI .CCommonName (str (lower )))
753
+ item .setLowerBound (COPASI .CRegisteredCommonName (str (lower )))
754
754
if np .isnan (upper ):
755
755
upper = math .pow (10 , 6 )
756
- item .setUpperBound (COPASI .CCommonName (str (upper )))
756
+ item .setUpperBound (COPASI .CRegisteredCommonName (str (upper )))
757
757
item .setStartValue (value ) # as well as the initial value
758
758
759
759
# create experiment specific fit items
@@ -799,10 +799,10 @@ def add_fit_items(self, parameters):
799
799
item = problem .addFitItem (cn )
800
800
if np .isnan (lower ):
801
801
lower = math .pow (10 , - 6 )
802
- item .setLowerBound (COPASI .CCommonName (str (lower )))
802
+ item .setLowerBound (COPASI .CRegisteredCommonName (str (lower )))
803
803
if np .isnan (upper ):
804
804
upper = math .pow (10 , 6 )
805
- item .setUpperBound (COPASI .CCommonName (str (upper )))
805
+ item .setUpperBound (COPASI .CRegisteredCommonName (str (upper )))
806
806
item .setStartValue (value ) # as well as the initial value
807
807
item .addExperiment (self .experiment_to_key [condition ])
808
808
You can’t perform that action at this time.
0 commit comments