From bca474e34c9182067fd4a6de422c92983981b89c Mon Sep 17 00:00:00 2001 From: Thomas Rich Date: Fri, 9 Dec 2022 14:13:30 -0800 Subject: [PATCH] adding one more check for updating circularity --- src/tidyUpSequenceData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tidyUpSequenceData.js b/src/tidyUpSequenceData.js index 0575b43..2d7da3c 100644 --- a/src/tidyUpSequenceData.js +++ b/src/tidyUpSequenceData.js @@ -93,7 +93,7 @@ module.exports = function tidyUpSequenceData(pSeqData, options = {}) { seqData.circular == -1 || /* eslint-enable eqeqeq*/ - + seqData.circular === false || (!seqData.circular && seqData.sequenceTypeCode !== "CIRCULAR_DNA") ) { seqData.circular = false;