khmer
khmer copied to clipboard
Cython tidying
Cythonizes the free floating functions and cleans up some code locations.
- [ ] Is it mergeable?
- [ ]
make testDid it pass the tests? - [ ]
make clean diff-coverIf it introduces new functionality inscripts/is it tested? - [ ]
make format diff_pylint_report cppcheck doc pydocstyleIs it well formatted? - [ ] Did it change the command-line interface? Only backwards-compatible additions are allowed without a major version increment. Changing file formats also requires a major version number increment.
- [ ] For substantial changes or changes to the command-line interface, is it
documented in
CHANGELOG.md? See keepachangelog for more details. - [ ] Was a spellchecker run on the source code and documentation after changes were made?
- [ ] Do the changes respect streaming IO? (Are they tested for streaming IO?)
I don't know if you want to cover this here, but we can remove all the from __future__ and sys.version checks from the code (yay!)
Yeah, already started it on a few files :)
On Thu, Sep 7, 2017 at 11:19 AM, Luiz Irber [email protected] wrote:
I don't know if you want to cover this here, but we can remove all the from future and sys.version checks from the code (yay!)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dib-lab/khmer/pull/1774#issuecomment-327882257, or mute the thread https://github.com/notifications/unsubscribe-auth/ACwxrYh0Diq9qg-nMeGKGMhKViU_TlM7ks5sgDOugaJpZM4PPHv1 .
-- Camille Scott
Graduate Group for Computer Science Lab for Data Intensive Biology University of California, Davis
For @standage: a good example of how to do the new style paired read handling can be found the in sample-reads-randomly script: https://github.com/dib-lab/khmer/pull/1774/files#diff-d7ee671a9cc8a3d7f82adcc860c1850b
Basically, utility function allows handling multiple paired-end samples in either split, interleaved, or single mode seamlessly, using the new Cython-based BrokenPairedReader.
Woot! This PR is down from 140 files to 37! :-)