Skip to content

Commit

Permalink
added test for visualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
dpear committed Feb 23, 2022
1 parent 559908a commit 774e5c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion q2_katharoseq/tests/test_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ def test_estimating_biomass(self):
'control_cell_into_extraction': float,
'extraction_mass_g': float,
'positive_control': str})
data.set_index('sample_name', inplace=True)

obs = estimating_biomass(
total_reads=qiime2.NumericMetadataColumn(data['total_reads']),
Expand All @@ -190,6 +189,9 @@ def test_estimating_biomass(self):
exp = pd.read_csv(
f'{fp}/output_estimating_biomass.tsv', sep='\t', index_col=0)
pd.testing.assert_frame_equal(obs, exp)
index_fp = os.path.join(output_dir, 'index.html')
self.assertTrue(os.path.exists(index_fp))



if __name__ == '__main__':
Expand Down

0 comments on commit 774e5c9

Please sign in to comment.