Commit dbe5702d authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

seq generation in correct order

parent 17c2f250
......@@ -95,7 +95,9 @@ define(['underscore', 'three', 'threeModel', 'lattice', 'appState', 'superCell',
var sequence = "";
for (var i=0;i<this.length;i++){
if (i>0) sequence += "-";//linker
sequence += this.cells[i][0][0].getSequence();
var seq = this.cells[i][0][0].getSequence();
if (i==0) seq = seq.split('').reverse().join('');
sequence += seq;
return sequence;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment