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

💚 Fix pytest error #327

Closed
evanroyrees opened this issue May 16, 2023 · 0 comments · Fixed by #341
Closed

💚 Fix pytest error #327

evanroyrees opened this issue May 16, 2023 · 0 comments · Fixed by #341
Labels
continuous integration Relating to continuously updating Autometa integrations

Comments

@evanroyrees
Copy link
Collaborator

pytest CI is currently failing due to test in tests/unit_tests/test_unclustered_recruitment.py::test_main.

This test failure currently exists in the dev branch as the autometa/binning/unclustered_recruitment.py script was unaltered in the corresponding PR #324 (which only changes autometa/binning/large_data_mode.py)

(example here: https://github.com/KwanLab/Autometa/actions/runs/4994350221/jobs/8945027824#step:5:307)

=========================== short test summary info ============================
FAILED tests/unit_tests/test_unclustered_recruitment.py::test_main - ValueError: attempt to get argmax of an empty sequence
======= 1 failed, 99 passed, 12 skipped, 8 warnings in 104.68s (0:01:44) =======
Using no_dims = 2, perplexity = 0.333333, theta = 0.500000, seed=-484417574
Computing input similarities...
Perplexity should be lower than K!
Building tree...
 - point 0 of 5
Done in 0.00 seconds (sparsity = 0.000000)!
Learning embedding...
Fitting performed in 0.00 seconds.
Perplexity should be lower than K!
Perplexity should be lower than K!
Perplexity should be lower than K!
Perplexity should be lower than K!
Perplexity should be lower than K!
Perplexity should be lower than K!
Perplexity should be lower than K!
Error: Process completed with exit code 1.
@evanroyrees evanroyrees added the continuous integration Relating to continuously updating Autometa integrations label May 16, 2023
@evanroyrees evanroyrees changed the title Fix pytest error 💚 Fix pytest error Jun 1, 2023
@evanroyrees evanroyrees linked a pull request Aug 23, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous integration Relating to continuously updating Autometa integrations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant