Team:Amsterdam/maarten/
From 2012.igem.org
(Difference between revisions)
Line 20: | Line 20: | ||
tempArray[j] = sensorArray[sensor] | tempArray[j] = sensorArray[sensor] | ||
j++ | j++ | ||
- | if (j%5 === 0){ | + | if (j%5 === 0 && j !== 0){ |
- | + | if (j !== 0){ | |
- | + | configuratePlasmid(tempArray,number) | |
- | + | number++ | |
- | + | tempArray = new Array() | |
- | + | j = 0 | |
- | + | for (item in memoryPlasmid.memoryObjects){ | |
- | + | site = new Object() | |
- | + | site.zincFingerDescription = memoryPlasmid.memoryObjects[item].zincFinger.featureObject.description | |
- | + | site.zincFinger = memoryPlasmid.memoryObjects[item].zincFinger.featureObject.target | |
- | + | site.zincFingerLength = site.zincFinger.length | |
- | + | site.methyltransferaseDescription = memoryPlasmid.memoryObjects[item].methyltransferase.featureObject.description | |
- | + | site.methyltransferase = memoryPlasmid.memoryObjects[item].methyltransferase.featureObject.target | |
- | + | site.methyltransferaseLength = site.methyltransferase.length | |
- | + | site.sensor = memoryPlasmid.memoryObjects[item].sensor.description | |
+ | targetSites.push(site) | ||
+ | } | ||
} | } | ||
+ | |||
} | } | ||
} | } |
Revision as of 19:29, 3 September 2012