Skip to content

Commit

Permalink
Merge ce717c4 into e046b9a
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Rod committed Sep 6, 2019
2 parents e046b9a + ce717c4 commit d5dc108
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion q2_types/sample_data/tests/test_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ def test_pd_series_to_alpha_diversity_format(self):
name='shannon', index=exp_index)

obs = transformer(exp)
obs = pd.Series.from_csv(str(obs), sep='\t', header=0)

# Squeeze equals true in function call below to return series instead
# of dataframe
obs = pd.read_csv(str(obs), sep='\t', header=0, index_col=0,
squeeze=True)

assert_series_equal(exp, obs)

Expand Down

0 comments on commit d5dc108

Please sign in to comment.