예제 #1
0
 def test_get_output_filepaths(self):
     """ Properly generates output filepath names """
     
     uc_res = \
      get_output_filepaths("/tmp/","test_seqs.fasta")
     
     self.assertEqual(uc_res, "/tmp/test_seqs_clusters.uc")
예제 #2
0
    def test_get_output_filepaths(self):
        """ Properly generates output filepath names """

        uc_res = \
         get_output_filepaths("/tmp/","test_seqs.fasta")

        self.assertEqual(uc_res, "/tmp/test_seqs_clusters.uc")
예제 #3
0
 def test_get_output_filepaths_multiple_dots(self):
     """Generates filepath names from names with more than one dot"""
     obs = get_output_filepaths("/tmp", "test_seqs.filtered.fasta")
     self.assertEqual(obs, "/tmp/test_seqs.filtered_clusters.uc")
예제 #4
0
 def test_get_output_filepaths_multiple_dots(self):
     """Generates filepath names from names with more than one dot"""
     obs = get_output_filepaths("/tmp", "test_seqs.filtered.fasta")
     self.assertEqual(obs, "/tmp/test_seqs.filtered_clusters.uc")