Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 330: Line 330:
  {
  {
   var reac= sim.reactions[sim.reac_order[i]];
   var reac= sim.reactions[sim.reac_order[i]];
-
  alert('reac ' + i + ' => ' + reac.precomp_molusage);
 
   var proba= reac.precomp_probfactor;
   var proba= reac.precomp_probfactor;
Line 340: Line 339:
   for(var elt in reac.precomp_molusage)
   for(var elt in reac.precomp_molusage)
   {
   {
 +
  alert('reac '+ i + ' : ' + elt + '->'+reac.precomp_molusage[elt]);
   if( entier * reac.precomp_molusage[elt] >= sim.molecules[elt].quantity )
   if( entier * reac.precomp_molusage[elt] >= sim.molecules[elt].quantity )
   {
   {

Revision as of 11:28, 3 August 2013