Skip to content

Commit 829c786

Browse files
CopilotmanuleraBjornFJohansson
authored
Remove Björn's local machine paths from repository files (#385)
* Initial plan * Remove Björn's local machine paths from repository files Co-authored-by: manulera <22526102+manulera@users.noreply.github.com> * Update genbankfixer.py .../ to ... / in docstring --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: manulera <22526102+manulera@users.noreply.github.com> Co-authored-by: Björn Johansson <bjorn_johansson@bio.uminho.pt>
1 parent 7c0f618 commit 829c786

3 files changed

Lines changed: 8 additions & 15 deletions

File tree

src/pydna/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,12 @@ class _PydnaDeprecationWarning(_PydnaWarning):
335335
# [main]
336336
# loglevel=30
337337
# email=myemail@example.org
338-
# data_dir=/home/bjorn/.local/share/pydna
339-
# log_dir=/home/bjorn/.cache/pydna/log
340-
# ape=tclsh /home/bjorn/.ApE/AppMain.tcl
338+
# data_dir=/home/user/.local/share/pydna
339+
# log_dir=/home/user/.cache/pydna/log
340+
# ape=tclsh /path/to/ape/AppMain.tcl
341341
# cached_funcs=Genbank_nucleotide
342-
# primers=/home/bjorn/Dropbox/wikidata/PRIMERS.txt
343-
# enzymes=/home/bjorn/Dropbox/wikidata/RestrictionEnzymes.txt
342+
# primers=/path/to/primers/PRIMERS.txt
343+
# enzymes=/path/to/enzymes/RestrictionEnzymes.txt
344344

345345
# The email address is set to someone@example.com by default. If you change
346346
# this to you own address, the :func:`pydna.genbank.genbank` function can be

src/pydna/genbankfixer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,19 +535,19 @@ def gbtext_clean(gbtext):
535535
... //'''
536536
>>> from pydna.readers import read
537537
>>> read(s) # doctest: +SKIP
538-
/home/bjorn/anaconda3/envs/bjorn36/lib/python3.6/site-packages/Bio/GenBank/Scanner.py:1388: BiopythonParserWarning: Malformed LOCUS line found - is this correct?
538+
... /site-packages/Bio/GenBank/Scanner.py:1388: BiopythonParserWarning: Malformed LOCUS line found - is this correct?
539539
:'LOCUS New_DNA 3 bp DNA CIRCULAR SYN 19-JUN-2013\\n'
540540
"correct?\\n:%r" % line, BiopythonParserWarning)
541541
Traceback (most recent call last):
542-
File "/home/bjorn/python_packages/pydna/pydna/readers.py", line 48, in read
542+
File "... /pydna/readers.py", line 48, in read
543543
results = results.pop()
544544
IndexError: pop from empty list
545545
<BLANKLINE>
546546
During handling of the above exception, another exception occurred:
547547
<BLANKLINE>
548548
Traceback (most recent call last):
549549
File "<stdin>", line 1, in <module>
550-
File "/home/bjorn/python_packages/pydna/pydna/readers.py", line 50, in read
550+
File "... /pydna/readers.py", line 50, in read
551551
raise ValueError("No sequences found in data:\\n({})".format(data[:79]))
552552
ValueError: No sequences found in data:
553553
(LOCUS New_DNA 3 bp DNA CIRCULAR SYN 19-JUN-2013

tests/run_assembly_tests.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)