Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BjornFJohansson committed Nov 6, 2023
1 parent 2f3091c commit 4a893fd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
10 changes: 4 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
22 changes: 11 additions & 11 deletions src/pydna/dseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions src/pydna/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit 4a893fd

Please sign in to comment.