Skip to content

Commit 01d107c

Browse files
committed
Add missing Bursty model setup for tests
1 parent f21a426 commit 01d107c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
-4.95 MB
Binary file not shown.

tests/modelBuilder.m

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
Bursty.inputExpressions = {'IGR','1+a1*exp(-r1*t)*(1-exp(-r2*t))*(t>0)'};
1111
Bursty.stoichiometry = [-1,1,0,0;1,-1,0,0;0,0,1,-1];
1212
Bursty.parameters = ({'kon',0.6;'koff',2;'kr',0.3;'gr',0.04});
13-
Bursty.summarizeModel;
13+
Bursty.summarizeModel;
14+
Bursty.fspOptions.initApproxSS = true; % Set Initial Distribution to Steady State.
15+
Bursty.tSpan = linspace(0,2,21);
16+
Bursty.fspOptions.fspTol = 1e-5;
17+
Bursty = Bursty.formPropensitiesGeneral('Bursty',true);
1418
[BurstyFSPSoln,Bursty.fspOptions.bounds] = Bursty.solve;
1519
[BurstyFSPSoln,Bursty.fspOptions.bounds] = Bursty.solve(BurstyFSPSoln.stateSpace);
1620
end

0 commit comments

Comments
 (0)