Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/traversal small #1231

Merged
merged 1 commit into from Aug 10, 2015
Merged

Feature/traversal small #1231

merged 1 commit into from Aug 10, 2015

Conversation

camillescott
Copy link
Member

Part 1 of #1080.

  • Is it mergeable?
  • Did it pass the tests?
  • If it introduces new functionality in scripts/ is it tested?
    Check for code coverage with make clean diff-cover
  • Is it well formatted? Look at make pep8, make diff_pylint_report,
    make cppcheck, and make doc output. Use make format and manual
    fixing as needed.
  • Did it change the command-line interface? Only additions are allowed
    without a major version increment. Changing file formats also requires a
    major version number increment.
  • Is it documented in the ChangeLog?
    http://en.wikipedia.org/wiki/Changelog#Format
  • Was a spellchecker run on the source code and documentation after
    changes were made?
  • Is the Copyright year up to date?

@camillescott
Copy link
Member Author

Jenkins, test this please you useless piece of non-sentient AI filth

@camillescott
Copy link
Member Author

CR plz @ctb @mr-c @luizirber @bocajnotnef

* khmer/_khmer.cc,lib/{counting,hashbits,hashtable,labelhash,subset}.{cc,hh}:
Updated relevant instances of HashIntoType and KMerIterator to use new Kmer
and KmerIterator, respectively.
* lib/Makefile: Add -std=c+=11 flag.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

& Makefile

…rching

functionality under one Traverser class; adds a Kmer object to store
hashed values and a KmerFactory to produce Kmers; updates Hashtable
and KmerIterator to subclass KmerFactory; updates all existing traversal
related functionality to use Traverser and KmerFactory, while removing
tons of redundant code.
@mr-c
Copy link
Contributor

mr-c commented Aug 10, 2015

Looks great, thank you for the Doxygen docs!

mr-c added a commit that referenced this pull request Aug 10, 2015
@mr-c mr-c merged commit 14f741f into master Aug 10, 2015
@mr-c mr-c deleted the feature/traversal_small branch August 10, 2015 22:49

public:

KmerFactory(WordLength K): _ksize(K) {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, found another cppcheck warning:
Class 'KmerFactory' has a constructor with 1 argument that is not explicit.

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.

None yet

2 participants