Template:Team:Paris Saclay/simbox
From 2013.igem.org
(Difference between revisions)
Line 57: | Line 57: | ||
{ | { | ||
molecules[id][i]= new molecule(); | molecules[id][i]= new molecule(); | ||
- | + | molecules[id][i].name= molecule_tags[i].getAttribute('name'); | |
if(molecule_tags[i].hasAttribute('quantity')) | if(molecule_tags[i].hasAttribute('quantity')) | ||
molecules[id][i].quantity= molecule_tags[i].getAttribute('quantity'); | molecules[id][i].quantity= molecule_tags[i].getAttribute('quantity'); |
Revision as of 21:14, 2 August 2013