Skip to content

Commit

Permalink
STY: Flake8 to the rescue
Browse files Browse the repository at this point in the history
  • Loading branch information
mortonjt committed Jul 19, 2016
1 parent a1b9cef commit 2908c93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions gneiss/tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,6 @@ def test_match_mismatch(self):
['b', 'control']],
index=['s1', 's3', 's2'],
columns=['Barcode', 'Treatment'])

exp_table = pd.DataFrame([[0, 0, 1, 1],
[2, 2, 4, 4],
[5, 5, 3, 3]],
index=['s1', 's2', 's3'],
columns=['o1', 'o2', 'o3', 'o4'])

exp_metadata = pd.DataFrame([['a', 'control'],
['b', 'control'],
['c', 'diseased']],
index=['s1', 's2', 's3'],
columns=['Barcode', 'Treatment'])
with self.assertRaises(ValueError):
match(table, metadata)

Expand Down
4 changes: 0 additions & 4 deletions gneiss/util.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import pandas as pd
import numpy as np


def match(x, y, intersect=False):
""" Sorts samples in metadata and contingency table in the same order.
Expand Down

0 comments on commit 2908c93

Please sign in to comment.