Skip to content

BUG: fixes MAFFT failing tests#96

Merged
lizgehret merged 1 commit into
devfrom
Language-26.4-core-updates
Mar 21, 2026
Merged

BUG: fixes MAFFT failing tests#96
lizgehret merged 1 commit into
devfrom
Language-26.4-core-updates

Conversation

@cherman2

Copy link
Copy Markdown
Contributor

This PR addresses failing tests in q2-alignment.

According to this PR: scikit-bio/scikit-bio#2320, Most MSA formats (?) populate the index of the structure using sequence metadata, except FASTQ and FASTA. This was changed in 0.7.1 of Skbio: https://github.com/scikit-bio/scikit-bio/blob/main/CHANGELOG.md

Our tests assumed an automatically generated pandas dataframe index like this: pd.RangeIndex(start=0, stop=len(sequences), step=1).

To fix this, I added indexes to our constructors and now all the tests pass locally for me.

@colinvwood colinvwood moved this to In Development in 2026.4 🌱 Mar 18, 2026
@cherman2 cherman2 moved this from In Development to Needs Review in 2026.4 🌱 Mar 18, 2026
@lizgehret

Copy link
Copy Markdown
Member

Thanks for providing all of these details @cherman2, these changes lgtm!

@github-project-automation github-project-automation Bot moved this from Needs Review to Ready for Merge in 2026.4 🌱 Mar 19, 2026
@lizgehret lizgehret merged commit 135b02f into dev Mar 21, 2026
3 of 5 checks passed
@github-project-automation github-project-automation Bot moved this from Ready for Merge to Changelog Needed in 2026.4 🌱 Mar 21, 2026
@lizgehret lizgehret deleted the Language-26.4-core-updates branch March 21, 2026 22:18
@lizgehret lizgehret moved this from Changelog Needed to Completed in 2026.4 🌱 Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Completed

Development

Successfully merging this pull request may close these issues.

4 participants