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

Tests fail due to DIAMOND bitscore change #741

Open
terrycojones opened this issue Jan 31, 2021 · 0 comments
Open

Tests fail due to DIAMOND bitscore change #741

terrycojones opened this issue Jan 31, 2021 · 0 comments
Assignees

Comments

@terrycojones
Copy link
Member

Traceback (most recent call last):
  File "/Users/terry/miniconda3/envs/39/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/Users/terry/miniconda3/envs/39/lib/python3.9/unittest/case.py", line 593, in run
    self._callTestMethod(testMethod)
  File "/Users/terry/miniconda3/envs/39/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
    method()
  File "/Users/terry/dark-matter/dark-matter/test/diamond/test_run.py", line 63, in testOne
    self.assertEqual(
  File "/Users/terry/miniconda3/envs/39/lib/python3.9/unittest/case.py", line 831, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/Users/terry/miniconda3/envs/39/lib/python3.9/unittest/case.py", line 1130, in assertDictEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/Users/terry/miniconda3/envs/39/lib/python3.9/unittest/case.py", line 670, in fail
    raise self.failureException(msg)
builtins.AssertionError: {'bitscore': 40.8, 'btop': '11AN5ST', 'qframe': -2, 'qend[243 chars]ect'} != {'bitscore': 40.0, 'btop': '11AN5ST', 'qframe': -2, 'qend[243 chars]ect'}
- {'bitscore': 40.8,
?                 ^

+ {'bitscore': 40.0,
?                 ^

   'btop': '11AN5ST',
   'full_qqual': 'EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE',
   'full_qseq': 'CCAGAGCGCACATACTGAATAGCAAACGGATTCTCCTTCGGGTCACACTCAATTGGG',
   'qend': 3,
   'qframe': -2,
   'qlen': 57,
   'qseqid': 'query',
   'qstart': 56,
   'slen': 450,
   'sstart': 241,
   'stitle': 'subject'}

test.diamond.test_run.TestDiamondExecutor.testOne
@terrycojones terrycojones self-assigned this Jan 31, 2021
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

No branches or pull requests

1 participant