biocore / American-Gut

American Gut open-access data and IPython notebooks
Other
113 stars 81 forks source link

TaxTree tests are failing #37

Closed ElDeveloper closed 10 years ago

ElDeveloper commented 10 years ago
yoshikivazquezbaeza:American-Gut@master$ python tests/test_taxtree.py 
.....F.
======================================================================
FAIL: test_sample_rare_unique (__main__.TaxTreeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test_taxtree.py", line 28, in test_sample_rare_unique
    self.assertEqual(sorted(obs), exp)
AssertionError: Lists differ: [('a', None, [['k__1', 'p__x',... != [('a', None, [['k__1', 'p__x',...

First differing element 2:
('c', None, [], [])
('c', None, [['k__1', 'p__y', 'c__']], [])

  [('a',
    None,
    [['k__1', 'p__x', 'c__'], ['k__1', 'p__y', 'c__3']],
    [['k__1', 'p__x', 'c__1'], ['k__1', 'p__x', 'c__2']]),
   ('b', None, [['k__1', 'p__x', 'c__'], ['k__1', 'p__y', 'c__3']], []),
-  ('c', None, [], [])]
+  ('c', None, [['k__1', 'p__y', 'c__']], [])]

----------------------------------------------------------------------
Ran 7 tests in 0.002s

FAILED (failures=1)
wasade commented 10 years ago

weird. fixing

On Tue, Nov 12, 2013 at 5:50 PM, Yoshiki Vázquez Baeza < notifications@github.com> wrote:

yoshikivazquezbaeza:American-Gut@master$ python tests/test_taxtree.py

.....F.======================================================================FAIL: test_sample_rare_unique (main.TaxTreeTests)----------------------------------------------------------------------Traceback (most recent call last): File "tests/test_taxtree.py", line 28, in test_sample_rare_unique self.assertEqual(sorted(obs), exp)AssertionError: Lists differ: [('a', None, [['k1', 'px',... != [('a', None, [['k1', 'px',... First differing element 2:('c', None, [], [])('c', None, [['k1', 'py', 'c__']], [])

[('a', None, [['k1', 'px', 'c'], ['k1', 'py', 'c3']], [['k1', 'px', 'c1'], ['k1', 'px', 'c2']]), ('b', None, [['k1', 'px', 'c'], ['k1', 'py', 'c3']], []),- ('c', None, [], [])]+ ('c', None, [['k1', 'py', 'c__']], [])] ----------------------------------------------------------------------Ran 7 tests in 0.002s FAILED (failures=1)

— Reply to this email directly or view it on GitHubhttps://github.com/qiime/American-Gut/issues/37 .

ElDeveloper commented 10 years ago

Fixed in #38.