Test on GitHub often fails when trying to setup the data for the text-to-topic function. By reducing the data the error could possibly be avoided.
Fixes #2441
Description
Change LIMIT on text-to-topics query to avoid problem with testing, - and possible other effects.
Caveats
Please list anything which has been left out of this PR or which should be considered before this PR is accepted
Check any of the following which apply:
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] I have made corresponding changes to the documentation
[ ] This change requires new dependencies (please list)
If you make changes to the Python code
[ ] My code passes the tox check, I can receive warnings about tests, documentation or both
Testing
Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. Please also list any relevant details for your test configuration.
Test on GitHub often fails when trying to setup the data for the text-to-topic function. By reducing the data the error could possibly be avoided.
Fixes #2441
Description
Change LIMIT on text-to-topics query to avoid problem with testing, - and possible other effects.
Caveats
If you make changes to the Python code
Testing
Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce. Please also list any relevant details for your test configuration.
python -m scholia.text text-to-topics-url "schizophrenia"
Checklist