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

Bacpop-211 - add Streptococcus pyogenes #58

Merged
merged 5 commits into from
Jan 29, 2025
Merged

Conversation

absternator
Copy link
Contributor

This adds new species Streptococcus pyogenes.

Testing:
For frontend ensure branch is bacpop-186-v9-db also ensure api_branch is pointed to bacpop-211-pyogenes-dev... also you will have to re-run ./scripts/download_databases again.

Run the new sample ive slacked, selecting the Streptococcus pyogenes as the project species

assert project_data["status"]["microreact"] == "finished"
assert project_data["status"]["network"] == "finished"

def test_run_poppunk_streptococcus_pyogenes(client, qtbot):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

rest of file is cleanup and extracting common code into functions

Base automatically changed from bacpop-186-v9-db-support to main January 28, 2025 09:52
Copy link
Contributor

@EmmaLRussell EmmaLRussell left a comment

Choose a reason for hiding this comment

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

Looks good, works for me. Could you refactor the integration tests to reduce repetition even more? They're each testing that poppunk goes through the same process - or almost the same? So could have a single function that checks for that, with maybe a couple of parameters for anything that needs to be different e.g. metadata csv file? Up to you though!

@absternator
Copy link
Contributor Author

Looks good, works for me. Could you refactor the integration tests to reduce repetition even more? They're each testing that poppunk goes through the same process - or almost the same? So could have a single function that checks for that, with maybe a couple of parameters for anything that needs to be different e.g. metadata csv file? Up to you though!

yup good idea cleanup up a lot more

@absternator absternator merged commit 03b856d into main Jan 29, 2025
4 checks passed
@absternator absternator deleted the bacpop-211-pyogenes branch January 29, 2025 10:53
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.

2 participants