Exemplo n.º 1
0
 def test_get_references_secondary(self):
     '''COMMENT'''
     this_chebi_entity = ChebiEntity('22182')
     this_reference = Reference(
         'WO2006008754', 'Patent', '', 'NOVEL INTERMEDIATES FOR LINEZOLID '
         'AND RELATED COMPOUNDS')
     self.assertTrue(this_reference in this_chebi_entity.get_references())
Exemplo n.º 2
0
 def test_get_refs_three_tokens(self):
     '''COMMENT'''
     ref = Reference('49658669', 'PubChem')
     self.assertIn(ref, parsers.get_references([8]))
Exemplo n.º 3
0
 def test_get_references(self):
     '''COMMENT'''
     ref = Reference('O13340', 'UniProt', 'CC - INDUCTION',
                     'Podosporapepsin')
     self.assertIn(ref, parsers.get_references([27594]))