File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def process
65
65
buf = ""
66
66
67
67
l = "<#{ sider } label_#{ Digest ::MD5 . hexdigest ( row [ 2 ] ) } > "
68
- drug = "<#{ host } /pubchem :#{ row [ 1 ] . to_i . abs . to_s } > "
68
+ drug = "<#{ host } /pubchem_compound :#{ row [ 1 ] . to_i . abs . to_s } > "
69
69
70
70
buf << l +type +"<#{ sider_v } Drug_Information_Label> " + record + eol
71
71
buf << l +"<#{ sider_v } involves_drug> " + drug + record + eol
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ def load_namespaces
16
16
@ctd_vocabulary = RDF ::Vocabulary . new ( "#{ host } /ctd_vocabulary:" )
17
17
@pubmed = RDF ::Vocabulary . new ( "http://www.ncbi.nlm.nih.gov/pubmed/" )
18
18
@pubchem = RDF ::Vocabulary . new ( "#{ host } /pubchem:" )
19
+ @pubchem_compound = RDF ::Vocabulary . new ( "#{ host } /pubchem_compound:" )
19
20
@geneid = RDF ::Vocabulary . new ( "#{ host } /geneid:" )
20
21
@mesh = RDF ::Vocabulary . new ( "#{ host } /mesh:" )
21
22
@taxon = RDF ::Vocabulary . new ( "#{ host } /taxon:" )
You can’t perform that action at this time.
0 commit comments