Skip to content

Commit

Permalink
increased converage
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleybeckner authored and wesleybeckner committed Nov 2, 2018
1 parent 6f0be26 commit 7a0fdca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion salty/tests/test_data_manipulation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import absolute_import, division, print_function
import salty
import unittest
import pandas as pd


class data_manipulation_tests(unittest.TestCase):
Expand Down Expand Up @@ -29,8 +30,13 @@ def test_3_merge_duplicates(self):
return data

def test_4_assign_category(self):
with_relative = self.devmodel1.Data
with_relative['Molecular Relative'] = ''
with_relative.drop(columns='name-cation', inplace=True)
missed_entry_test = salty.assign_category(with_relative)
data = salty.assign_category(self.devmodel1.Data)
return data
no_column_test = salty.assign_category(pd.DataFrame())
return data, missed_entry_test, no_column_test

def test_benchmark(self):
salty.Benchmark.run(self.test_1_aggregate_data)
Expand Down
7 changes: 7 additions & 0 deletions scripts/vae/wes_vae_two.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,13 @@
"plt.hist(values.map(len))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 5,
Expand Down

0 comments on commit 7a0fdca

Please sign in to comment.