Skip to content

Regression test#48

Merged
Thomas-Rowlands merged 5 commits intoomicsNLP:mainfrom
ImperialCollegeLondon:regression-test
Oct 2, 2024
Merged

Regression test#48
Thomas-Rowlands merged 5 commits intoomicsNLP:mainfrom
ImperialCollegeLondon:regression-test

Conversation

@AdrianDAlessandro
Copy link
Copy Markdown
Collaborator

This PR adds a regression test that can be run with pytest

The data used for this test is the Open Access publication describing this software: https://doi.org/10.3389/fdgth.2022.788124 - it is Creative Commons licensed and the html used for the test includes the Creative Commons license text inside it, which automatically makes it comply with the license, as far as I can tell.

Comment thread tests/test_regression.py Outdated
Comment thread tests/test_regression.py Outdated
Comment thread tests/test_regression.py Outdated
Copy link
Copy Markdown
Collaborator

@Thomas-Rowlands Thomas-Rowlands left a comment

Choose a reason for hiding this comment

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

Added suggested changes to the test_regression.py file. Testing in Windows 11 throws an encoding error, which is resolved by specifying UTF-8. Looks good with this change however.

@AdrianDAlessandro
Copy link
Copy Markdown
Collaborator Author

@Thomas-Rowlands I've updated it to specify utf-8 encoding. Can you approve this PR to run workflows so that we can see if the test is passing?

@Thomas-Rowlands Thomas-Rowlands merged commit 0b3f383 into omicsNLP:main Oct 2, 2024
@AdrianDAlessandro AdrianDAlessandro deleted the regression-test branch October 2, 2024 21:44
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