Template:Team:Paris Saclay/simbox
From 2013.igem.org
(Difference between revisions)
Line 400: | Line 400: | ||
var tstart= Math.floor(sim.draw_min_t/sim.timestep); | var tstart= Math.floor(sim.draw_min_t/sim.timestep); | ||
var tend= Math.ceil(sim.draw_max_t/sim.timestep); | var tend= Math.ceil(sim.draw_max_t/sim.timestep); | ||
- | if(tstart > | + | if(tstart > dta.length) |
- | tstart= | + | tstart= dta.length; |
- | if(tend > | + | if(tend > dta.length) |
- | tend= | + | tend= dta.length; |
alert('t1= ' + tstart + ' t2='+ tend); | alert('t1= ' + tstart + ' t2='+ tend); |
Revision as of 01:22, 3 August 2013