示例#1
0
 def test_filter_description(self):
     expected = self.sequences[3:]
     actual = list(transform.name_include(self.sequences, r'sequence id 4|test seq'))
     self.assertEqual(2, len(actual))
     self.assertEqual(expected, actual)
示例#2
0
 def test_filter_description(self):
     expected = self.sequences[3:]
     actual = list(transform.name_include(self.sequences, r'sequence id 4|test seq'))
     self.assertEqual(2, len(actual))
     self.assertEqual(expected, actual)
示例#3
0
 def test_filter_id(self):
     expected = self.sequences[:2]
     actual = list(transform.name_include(self.sequences, r'sequenceid[12]'))
     self.assertEqual(2, len(actual))
     self.assertEqual(expected, actual)
示例#4
0
 def test_filter_id(self):
     expected = self.sequences[:2]
     actual = list(transform.name_include(self.sequences, r'sequenceid[12]'))
     self.assertEqual(2, len(actual))
     self.assertEqual(expected, actual)