summaryrefslogtreecommitdiff
path: root/lib/compound.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compound.rb')
-rw-r--r--lib/compound.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compound.rb b/lib/compound.rb
index c25125b..8928081 100644
--- a/lib/compound.rb
+++ b/lib/compound.rb
@@ -204,7 +204,7 @@ module OpenTox
entry = nil
ds.data_entries.each { |c_uri, values|
if c_uri.split('/compound/').last == self.to_inchi
- entry = ds.data_entries[self.uri]
+ entry = ds.data_entries[c_uri]
break
end
}