From 9eb282dbe9a15fd7066e8dab793c33ac12976f2f Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Mon, 1 Oct 2012 13:45:33 +0200 Subject: Added force-no-query parameter --- lib/dataset.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/dataset.rb') diff --git a/lib/dataset.rb b/lib/dataset.rb index 4816b5a..8c855a9 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -27,8 +27,8 @@ module OpenTox end end - def get - super + def get(force_no_backend_query=false) + super() unless (force_no_backend_query and @rdf.size>0) @features = [] @compounds = [] @data_entries = [] -- cgit v1.2.3