sunbeam
sunbeam copied to clipboard
Tests failed when installing
Hello, I managed to install sunbeam successfully with some workaround (added git to the sunbeam conda environment) but now am not passing the tests. This is the specific error message I get:
tests/run_tests.bash -e sunbeam Running setup... \u2714 Running build_test_data... \u2714 Running test_all... \u2714 Running test_all_old_illumina... \u2714 Running test_assembly_failures... \u2714 Running test_blank_fp_behavior... \u2714 Running test_extensions... \u2714 Running test_get_paired_unpaired... Failed command error output: Traceback (most recent call last): File "/home/weimo/anaconda3/envs/sunbeam/lib/python3.6/site-packages/grabseqslib/init.py", line 30, in main if args.rastid: AttributeError: 'Namespace' object has no attribute 'rastid'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/weimo/anaconda3/envs/sunbeam/bin/grabseqs", line 11, in
Thanks in advance!
Hi @monicawei12, sorry for the very delayed response! This is not an error I've seen before--it looks like the issue is with part of the pipeline that handles downloading external data. The confusing part to me is that you had to explicitly install git; git should be included the sunbeam environment. That, plus a bunch of errors in a self-contained python dependency make me think that there might have been an issue during the install or environment creation steps.
Did you install from the stable branch or the dev branch? We're planning to release a new stable branch soon as the current one is quite stale. The dev branch was failing the automated testing due to one of the dependencies breaking, but that was fixed today.
If you're still having this issue and are interested in troubleshooting, I do have a suggestion. If you pull in the latest changes git checkout dev && git pull and then try a fresh install, updating the environment and library bash install.sh -u all. If you get the same error I'll see if I can reproduce your problem.
Closing this issue as it should be fixed in sunbeam3. If you run into this again please open a new issue.