summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2012-04-05 11:36:05 +0300
committerdavor <vorgrimmlerdavid@gmx.de>2012-04-05 11:36:05 +0300
commitd82a5daa6c9218ee7b52eb5f933fd75b85e84d55 (patch)
treead0639028ab7aba2f1c38ae711677e3f1f2f2692
parent9cdaca881d129e4642086fe8a81633ac552814ed (diff)
Bugfix. Lookup problem for external compound uri fixed.
Now external hostname/port in compound uri doesn't influence lookup in external feature datasets.
-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
}