summaryrefslogtreecommitdiff
path: root/lib/compound.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2017-01-10 13:44:43 +0100
committerChristoph Helma <helma@in-silico.ch>2017-01-10 13:44:43 +0100
commitcdab5069ded9490afe81095059e9a407faf864d9 (patch)
tree26a3337e350540d440d1725d9e0ad878f26fec26 /lib/compound.rb
parenta5abdd27b8c9b3f1cf65a567bfd9eb17ecc91a72 (diff)
independent_variables stored in GridFS to avoid Mongo database size limit problems
Diffstat (limited to 'lib/compound.rb')
-rw-r--r--lib/compound.rb2
1 files changed, 0 insertions, 2 deletions
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.