Skip to content

Updating local fork - #1

Merged
mkorycinski merged 63 commits into
mkorycinski:masterfrom
biopython:master
Apr 8, 2017
Merged

mkorycinski merged 63 commits into
mkorycinski:masterfrom
biopython:master

Conversation

@mkorycinski

Copy link
Copy Markdown
Owner

No description provided.

MaxGreil and others added 30 commits April 2, 2017 20:18
This was based on the version control history for this file.
See GitHub issue #898 where all contributing authors have
agreed to dual licensing their contirbutions.
Also remove reference to Python 2.6 which we dropped.
All the m10 files should be used in the main test
suite anyway.

Moving the self-tests to the main test suite is
being tracked as GitHub issue #820.
This closes GitHub issue #1112 where under PyPy3.5 v5.7 beta
a bug in NumPy 1.12.1 makes numpy.float64 unhashable. See
numpy/numpy#8887
I think this is failing since I disabled the binary wheel only switch (needed to get NumPy under PyPy).
This should accept PyPy3.5 v5.6 alpha, or PyPy3.5 v5.7 beta,
where PyPy's NumPy support is very good.
But not Bio.trie (yet),

building 'Bio.trie' extension
gcc -pthread -arch x86_64 -DNDEBUG -O2 -Qunused-arguments -Qunused-arguments -fPIC -IBio -I/Users/pc40583/Downloads/Software/pypy2-v5.7.0-osx64/include -c Bio/triemodule.c -o build/temp.macosx-10.12-x86_64-2.7/Bio/triemodule.o
Bio/triemodule.c:2:10: fatal error: 'marshal.h' file not found
         ^
1 error generated.
error: command 'gcc' failed with exit status 1

See https://bitbucket.org/pypy/pypy/issues/2520 and
#1114
Also we recommend Python 3.6 (current latest release) now,
rather than Python 3.5
Note this deliberately excludes any remaining self-test blocks
from the coverage statistics so they don't count against us.
See #820 for moving that test code under Tests/ so it actually
gets run under TravisCI etc and counts positively towards our
test coverage.
Hopefully this will look nice on the GitHub homepage view.
Squashed commit of pull request #1133.

Background is we can't easily maintain the ``SRC/`` subdirectory under the GitHub pages based website.
See preceeding commit from pull request #1133
Sadly Jython 2.7 doesn't fully support the print function,
http://bugs.jython.org/issue2007

Therefore I've refactored the doctest to only ever use print
as a single argument function - which works unmodified as a
print statement with extra brackets.
This is a nasty hack, but can't get Biopython to install otherwise
under Jython 2.7 as Bio/Restriction/Restriction_Dictionary.py
triggers java.lang.RuntimeException: Method code too large!

As the underlying restriction digest enzyme database grows, that
file will only get bigger.
Squashed commit of pull request #1127
Old URL would show the latest build, often a (failing)
pull request, rather than highlighting the default
master branch results.
Works with 'pip install -r requirements.txt' under both CPython and
PyPy 5.7, using pip 9.0.1

Testing any (non-empty) requirements.txt file under Jython 2.7 fails
for me with a recursion error with current version of pip 9.0.1, see
http://bugs.jython.org/issue2576

Closes #987
(Discussed by email)
Will just point at https://genome.ucsc.edu/FAQ/FAQformat.html#format5

RST problem spotted with epydoc 3.0.1 while preparing the API documentation,

+--------------------------------------------------------------------------------------------------
| File /.../site-packages/Bio/AlignIO/MafIO.py, line 9, in
| Bio.AlignIO.MafIO
|   Warning: Line 26: Unexpected indentation.
|   Warning: Lines 38, 43, 47, 51, 54: Bullet list ends without a blank line; unexpected unindent.
|   Warning: Line 57: Block quote ends without a blank line; unexpected unindent.
|
+--------------------------------------------------------------------------------------------------
RST problem spotted with epydoc 3.0.1 while preparing the API documentation,

+--------------------------------------------------------------------------------------------------
| File /.../site-packages/Bio/PDB/DSSP.py, line 219, in
| Bio.PDB.DSSP'._make_dssp_dict
|   Warning: Line 227: Literal block expected; none found.
|
+--------------------------------------------------------------------------------------------------
| File /.../site-packages/Bio/PDB/DSSP.py, line 204, in
| Bio.PDB.DSSP'.make_dssp_dict
|   Warning: Line 210: Literal block expected; none found.
|
+--------------------------------------------------------------------------------------------------
RST problem spotted with epydoc 3.0.1 while preparing the API documentation,

+--------------------------------------------------------------------------------------------------
| File /.../site-packages/Bio/PDB/PDBList.py, line 335, in
| Bio.PDB.PDBList'.PDBList.download_pdb_files
|   Warning: Line 357: Definition list ends without a blank line; unexpected unindent.
|
+--------------------------------------------------------------------------------------------------
| File /.../site-packages/Bio/PDB/PDBList.py, line 197, in
| Bio.PDB.PDBList'.PDBList.retrieve_pdb_file
|   Warning: Line 227: Definition list ends without a blank line; unexpected unindent.
|
+--------------------------------------------------------------------------------------------------

Also fixed a few other things like bullet points for format arguments.
peterjc and others added 29 commits April 7, 2017 14:52
Squashed commit of pull request #1131, closes #1107.
See pull request #1131 for issue #1107.
XMFA/mauve/progressive mauve expects integer numbered sequences
- proper 0 base counting in python in the test case
- 'unique' IDs (/{start}-{end}, like stockholm)
See preceeding commits, from manual rebase of pull request #544.
The reStructuredText markup is a bit ugly, but still quite readable
as plain text.
@mkorycinski
mkorycinski merged commit 160fa8f into mkorycinski:master Apr 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants