Skip to content

Commit

Permalink
Merge 5a69ca7 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 + 5a69ca7 commit 3648242
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 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,12 @@ 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 convert single column
dataframe to series
'''
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 3648242

Please sign in to comment.