From 2f3091c2888ed9dbb6f7962b0e7c34a9d0973856 Mon Sep 17 00:00:00 2001 From: BjornFJohansson Date: Wed, 18 Oct 2023 14:10:54 +0100 Subject: [PATCH] fixed linear argument --- src/pydna/parsers.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pydna/parsers.py b/src/pydna/parsers.py index 78f4af52..752ca522 100644 --- a/src/pydna/parsers.py +++ b/src/pydna/parsers.py @@ -56,11 +56,9 @@ def embl_gb_fasta(raw, ds, path=None): nf.__dict__ = _deepcopy(f.__dict__) parsed.features = nfs if ds and path: - result_list.append( - _GenbankFile.from_SeqRecord(parsed, linear=not circular, circular=circular, path=path) - ) + result_list.append(_GenbankFile.from_SeqRecord(parsed, circular=circular, path=path)) elif ds: - result_list.append(_Dseqrecord.from_SeqRecord(parsed, linear=not circular, circular=circular)) + result_list.append(_Dseqrecord.from_SeqRecord(parsed, circular=circular)) else: parsed.annotations.update({"molecule_type": "DNA"}) result_list.append(parsed)