diff --git a/.readthedocs.yml b/.readthedocs.yml index cfcca90c..dfe1e086 100755 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,14 +1,12 @@ version: 2 - +build: + os: "ubuntu-22.04" + tools: + python: "3.11" sphinx: configuration: docs/conf.py - -build: - image: latest - conda: environment: docs/rtdenv.yml - python: install: - method: pip diff --git a/src/pydna/dseq.py b/src/pydna/dseq.py index 8a671049..88df4491 100644 --- a/src/pydna/dseq.py +++ b/src/pydna/dseq.py @@ -109,22 +109,22 @@ class Dseq(_Seq): The ovhg parameter controls the stagger at the five prime end:: - dsDNA ovhg + dsDNA overhang - XXX 2 - XXXXX + nnn... 2 + nnnnn... - XXXX 1 - XXXXX + nnnn... 1 + nnnnn... - XXXXX 0 - XXXXX + nnnnn... 0 + nnnnn... - XXXXX -1 - XXXX + nnnnn... -1 + nnnn... - XXXXX -2 - XXX + nnnnn... -2 + nnn... Example of creating Dseq objects with different amounts of stagger: diff --git a/src/pydna/parsers.py b/src/pydna/parsers.py index 752ca522..33b7f8d8 100644 --- a/src/pydna/parsers.py +++ b/src/pydna/parsers.py @@ -24,6 +24,7 @@ def embl_gb_fasta(raw, ds, path=None): # regex = r"^>.+?^(?=$|LOCUS|ID|>|\#)|^(?:LOCUS|ID).+?^//" regex = r"(?:>.+\n^(?:^[^>]+?)(?=\n\n|>|" r"LOCUS|ID))|(?:(?:LOCUS|ID)(?:(?:.|\n)+?)^//)" + "(?:^>.+\n^(?:^[^>]+?)(?=\n\n|>|^LOCUS|ID))|(?:(?:^LOCUS|ID)(?:(?:.|\n)+?)^//)" result_list = []