summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-05-30 10:12:56 +0000
committerChristoph Helma <helma@in-silico.ch>2011-05-30 10:12:56 +0000
commit83d51d8a56e138d6509b7d25e48eb6576fcd4b56 (patch)
tree15ce51ee4b2ead79cbbf0ad2fdf979a48debcbff
parent2e902d818ac6dc7dff9496f30f1ac7b5acc6ce80 (diff)
cached predictions fixed
-rw-r--r--lazar.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lazar.rb b/lazar.rb
index 65aff16..9b3d07b 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -132,7 +132,6 @@ post '/:id/?' do
if compound_uri
cache = PredictionCache.find(:model_uri => @lazar.uri, :compound_uri => compound_uri).first
- return cache.dataset_uri if cache and uri_available?(cache.dataset_uri)
if cache and uri_available?(cache.dataset_uri)
return cache.dataset_uri
else