Skip to content
Snippets Groups Projects
Commit 26e57d69 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

no linker

parent 48a5869c
No related branches found
No related tags found
No related merge requests found
...@@ -94,12 +94,10 @@ define(['underscore', 'three', 'threeModel', 'lattice', 'appState', 'superCell', ...@@ -94,12 +94,10 @@ define(['underscore', 'three', 'threeModel', 'lattice', 'appState', 'superCell',
GIKSuperCell.prototype.getSequence = function(){//todo this goes somewhere else GIKSuperCell.prototype.getSequence = function(){//todo this goes somewhere else
var sequence = ""; var sequence = "";
for (var i=0;i<this.length;i++){ for (var i=0;i<this.length;i++){
if (i>0) sequence += "-";//linker
var seq = this.sparseCells[i][0][0].getSequence(); var seq = this.sparseCells[i][0][0].getSequence();
if (i==0) seq = seq.split('').reverse().join(''); if (i==0) seq = seq.split('').reverse().join('');
sequence += seq; sequence += seq;
} }
if (sequence == "-") return "";
return sequence; return sequence;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment