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

error in test_file_count #8

Closed
stringertheory opened this issue Feb 7, 2017 · 3 comments
Closed

error in test_file_count #8

stringertheory opened this issue Feb 7, 2017 · 3 comments
Assignees
Labels

Comments

@stringertheory
Copy link

I'm looking forward to learning more and using this package!

When running download_build_38, I get an error in the tests:

ERROR: test_file_count (seqseek.tests.build_specific_tests.build_38_tests.TestBuild38)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/stringer/.virtualenvs/23andme/lib/python2.7/site-packages/seqseek/tests/build_specific_tests/build_38_tests.py", line 16, in test_file_count
    file_count = len(fnmatch.filter(os.listdir(TestBuild38.GRCH38_PATH), '*.fa'))
OSError: [Errno 2] No such file or directory: '/Users/stringer/.seqseek/homo_sapiens_GRCh38'

----------------------------------------------------------------------
Ran 31 tests in 0.019s

FAILED (errors=1)
@matstrand
Copy link
Collaborator

Thank you for reporting this! This is a bug with the integrity test that verifies that the sequence files are functioning with the package properly. It is a vestige of the directory structure that was used in older versions of the package.

This will be fixed promptly but you should still be able to safely use the package as it appears from your output that the other 30 integrity tests succeeded. There's no need for you to re-download the sequence files at this time and you should be able to proceed with your work.

matstrand added a commit that referenced this issue Feb 7, 2017
Fix #8 - error with build 38 integrity test
@matstrand
Copy link
Collaborator

This is now fixed in master and updated in PyPi. You may wish to pip install -U seqseek but there are no substantial changes beyond the deletion of the (now defunct) integrity test.

@matstrand matstrand added bug and removed bug labels Feb 7, 2017
@matstrand matstrand self-assigned this Feb 7, 2017
@matstrand matstrand added the bug label Feb 7, 2017
@stringertheory
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants