Skip to content

BUG: fix test failure due to q2-kmerizer changes in PR#12 - #78

Closed
lizgehret wants to merge 1 commit into
mainfrom
Paired-fix-rng
Closed

lizgehret wants to merge 1 commit into
mainfrom
Paired-fix-rng

Conversation

@lizgehret

Copy link
Copy Markdown
Member

Description

This PR fixes failures in the modified test that were caused by changes in bokulich-lab/q2-kmerizer#12. Now that terminal kmers are included, this changed the number of observed features as well as the jaccard distance (listing these two specifically because these are what is examined in the test). Below are my local reproductions of the updated values (first jaccard then observed features); I used the latest passed qiime2 environment (from 29 June) that includes dev installs of q2-boots, rachis and q2-kmerizer.

kmer_diversity_test_checks

AI Disclosure

  • NO AI USED.
  • AI USED.

@lizgehret

Copy link
Copy Markdown
Member Author

Note that a Paired- branch name has been utilized to account for rachis-org/rachis#950 - since this is blocking a new round of prepares, this needs to be tested in tandem to actually run the tests (otherwise boots chokes on the unknown param name)

@lizgehret lizgehret changed the title BUG: fix test failure due to kmerizer PR#12 BUG: fix test failure due to q2-kmerizer changes in PR#12 Jul 15, 2026
self.assertTrue(observed_table.shape, (2, 90))
# modified 15 July 2026 from (2, 90) to accommodate changes in:
# https://github.com/bokulich-lab/q2-kmerizer/pull/12
self.assertEqual(observed_table.shape, (2, 94))

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This was also previously just doing a truth assertion, which wouldn't ever fail - so this has been fixed to assert the expected shape

@lizgehret

Copy link
Copy Markdown
Member Author

no longer needed, @ebolyen to add a PR in kmerizer so the tests behave as previously expected

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.

1 participant