From cdab5069ded9490afe81095059e9a407faf864d9 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 10 Jan 2017 13:44:43 +0100 Subject: independent_variables stored in GridFS to avoid Mongo database size limit problems --- lib/compound.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/compound.rb') diff --git a/lib/compound.rb b/lib/compound.rb index 8a1143b..1c308d8 100644 --- a/lib/compound.rb +++ b/lib/compound.rb @@ -209,7 +209,6 @@ module OpenTox update(:svg_id => $gridfs.insert_one(file)) end $gridfs.find_one(_id: self.svg_id).data - end # Get png image @@ -223,7 +222,6 @@ module OpenTox update(:png_id => $gridfs.insert_one(file)) end Base64.decode64($gridfs.find_one(_id: self.png_id).data) - end # Get all known compound names. Relies on an external service for name lookups. -- cgit v1.2.3