Skip to content

Commit

Permalink
Merge develop
Browse files Browse the repository at this point in the history
  • Loading branch information
djcomlab committed Apr 7, 2017
1 parent f16c00b commit ab72478
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/test_magetab2isatab.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ def setUp(self):
def tearDown(self):
shutil.rmtree(self._tmp_dir)

def test_magetab2isatab_convert_bii_i_1(self):
with open(os.path.join(self._magetab_data_dir, 'BII-I-1', 'BII-I-1.idf.txt')) as idf_fp:
magetab2isatab.convert(idf_fp, self._tmp_dir)
self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 'i_investigation.txt')))
self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 's_BII-S-1.txt')))
self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 'a_transcriptome.txt')))
self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 's_BII-S-2.txt')))
self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 'a_microarray.txt')))
# def test_magetab2isatab_convert_bii_i_1(self):
# with open(os.path.join(self._magetab_data_dir, 'BII-I-1', 'BII-I-1.idf.txt')) as idf_fp:
# magetab2isatab.convert(idf_fp, self._tmp_dir)
# self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 'i_investigation.txt')))
# self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 's_BII-S-1.txt')))
# self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 'a_transcriptome.txt')))
# self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 's_BII-S-2.txt')))
# self.assertTrue(os.path.isfile(os.path.join(self._tmp_dir, 'a_microarray.txt')))

0 comments on commit ab72478

Please sign in to comment.