Skip to content

Commit

Permalink
remove integer check
Browse files Browse the repository at this point in the history
  • Loading branch information
Clockwork-Rat committed Dec 14, 2023
1 parent 86e36f9 commit bb571b0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions q2_feature_table/_summarize/_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,15 +361,6 @@ def _frequencies(table, axis):
return pd.Series(data=table.sum(axis=axis), index=table.ids(axis=axis))


def is_integer(x):
if isinstance(x, int):
return True
elif isinstance(x, float):
return x.is_integer()
else:
return False


def _frequency_summary(table: biom.Table, axis='sample'):
frequencies = _frequencies(table, axis=axis)

Expand Down

0 comments on commit bb571b0

Please sign in to comment.