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

MAINT: migrate q2-demux types/formats/transformers to q2-types for more general access #307

Merged
merged 15 commits into from
May 15, 2024

Conversation

hagenjp
Copy link
Contributor

@hagenjp hagenjp commented Jan 19, 2024

Closes issue #153

@hagenjp hagenjp changed the title MAINT: migrate types/formats/transformers to q2-types for more general access #153 MAINT: migrate types/formats/transformers to q2-types for more general access Jan 19, 2024
@hagenjp hagenjp changed the title MAINT: migrate types/formats/transformers to q2-types for more general access MAINT: migrate q2-demux types/formats/transformers to q2-types for more general access Jan 29, 2024
@colinvwood
Copy link
Contributor

linked to qiime2/q2-demux#160

@lizgehret lizgehret assigned lizgehret and unassigned colinvwood Apr 16, 2024
Copy link
Member

@lizgehret lizgehret left a comment

Choose a reason for hiding this comment

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

Hey @hagenjp - tested these changes locally, and they seem reasonable. One thing I noticed is that the number of unit tests that were moved over doesn't match up across repos.

In q2-demux, there were 107 tests prior to your changes, and now there are 88. In q2-types, there were originally 610 tests and now there are 636. So there were 19 tests removed in q2-demux, but 26 tests added in q2-types.

I haven't gone through everything with a fine toothed comb to determine exactly where this discrepancy is coming from - but just wondering if you recall splitting up any tests, or adding any transformers/format validations as tests when migrating everything over to q2-types?

@lizgehret lizgehret assigned hagenjp and unassigned lizgehret Apr 19, 2024
@hagenjp
Copy link
Contributor Author

hagenjp commented May 8, 2024

Hi @lizgehret, I just looked through, I did add 7 tests to match the testing done in q2-types for the transformers. Let me know if you would like me to get rid of those and I can do that. Thanks!

@lizgehret
Copy link
Member

Hi @lizgehret, I just looked through, I did add 7 tests to match the testing done in q2-types for the transformers. Let me know if you would like me to get rid of those and I can do that. Thanks!

Hey @hagenjp, thanks for looking into this! No need to get rid of these tests - more is always better, especially when you're matching what we have in our existing test suite! Would you mind adding comments to annotate which tests you added for this purpose? Then this should be g2g 🙂

@hagenjp hagenjp requested a review from lizgehret May 13, 2024 17:29
Copy link
Member

@lizgehret lizgehret left a comment

Choose a reason for hiding this comment

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

Thanks @hagenjp! Okay, it looks like we have one final thing to address - notice that we have test failures occurring on github, but these tests all passed locally for me (and I assume they did for you too). Take a look at the tests that are failing - all related to file not found errors. This is a sneaky little gotcha related to your setup.py file 🙂 Take a look at that file, and maybe a few other repos' setup.py file and see if you can do some detective work there. If you're still unsure after doing some digging, let me know and we can take a look at it together!

@lizgehret
Copy link
Member

@hagenjp you're on the right track! Take a close look at the particular tests that are failing to help you determine which files aren't being found 🙂

@hagenjp hagenjp requested a review from lizgehret May 15, 2024 17:22
Copy link
Member

@lizgehret lizgehret left a comment

Choose a reason for hiding this comment

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

nice work @hagenjp! this is good to merge 🙂

@lizgehret lizgehret merged commit 4c7cfff into qiime2:dev May 15, 2024
4 checks passed
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.

3 participants