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

Simplify concat #851

Merged
merged 8 commits into from
Nov 5, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Accidentally duplicated a test
  • Loading branch information
wasade committed Nov 3, 2020
commit c504d8e62f227166534bbdd3fa393784069b3317
13 changes: 0 additions & 13 deletions biom/tests/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,19 +156,6 @@ def test_concat_table_type(self):
obs = table1.concat([table2, ], axis='sample')
self.assertEqual(obs, exp)

def test_concat_single_table(self):
table2 = example_table.copy()
table2.update_ids({'S1': 'S4', 'S2': 'S5', 'S3': 'S6'})

exp = Table(np.array([[0, 1, 2, 0, 1, 2],
[3, 4, 5, 3, 4, 5]]),
['O1', 'O2'],
['S1', 'S2', 'S3', 'S4', 'S5', 'S6'],
example_table.metadata(axis='observation'),
list(example_table.metadata()) * 2)
obs = example_table.concat(table2, axis='sample')
self.assertEqual(obs, exp)

def test_concat_single_table_nonlist(self):
table2 = example_table.copy()
table2.update_ids({'S1': 'S4', 'S2': 'S5', 'S3': 'S6'})
Expand Down