Skip to content

Commit

Permalink
account for ubuntu/mac float differences
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaBirmingham committed Jan 15, 2024
1 parent 429e916 commit 73c44ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pysyndna/tests/test_calc_cell_counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,11 @@ def test_calc_ogu_cell_counts_biom_w_cast(self):
params_df, self.linregresses_dict, counts_biom, lengths_df,
read_len, min_coverage, min_rsquared, output_metric)

self.assert_biom_tables_equal(expected_out_biom, output_biom)
# NB: only checking results to 2 decimals because Ubuntu and Mac
# differ past that point. Not that it matters much since the decimal
# portion of values this huge is not very important.
self.assert_biom_tables_equal(expected_out_biom, output_biom,
decimal_precision=2)
self.assertListEqual(
["The following items have coverage lower than the minimum of 1: "
"['example2;Neisseria subflava', "
Expand Down

0 comments on commit 73c44ee

Please sign in to comment.