summaryrefslogtreecommitdiff
path: root/lib/dataset.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r--lib/dataset.rb4
1 files changed, 2 insertions, 2 deletions
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 = []