Skip to content

Commit 27df020

Browse files
authored
remove forced linearization on convertToTeselaJson (#534)
1 parent dea3e6a commit 27df020

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/utils/readNwrite.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,11 @@ export function convertToTeselaJson(sequence) {
239239
// For some reason, as it is it does not read circular or linear properly from certain files
240240
const { parsedSequence } = genbankToJson(sequence.file_content)[0];
241241

242-
if (sequence.file_content.split('\n')[0].includes('linear')) {
243-
parsedSequence.circular = false;
244-
}
242+
// TODO: Remove this eventually?
243+
// if (sequence.file_content.split('\n')[0].includes('linear')) {
244+
// parsedSequence.circular = false;
245+
// }
246+
245247
parsedSequence.id = sequence.id;
246248
return tidyUpSequenceData(parsedSequence);
247249
}

0 commit comments

Comments
 (0)