summaryrefslogtreecommitdiff
path: root/lib/opentox.rb
diff options
context:
space:
mode:
authorhelma@in-silico.ch <helma@in-silico.ch>2018-10-24 18:21:34 +0200
committerhelma@in-silico.ch <helma@in-silico.ch>2018-10-24 18:21:34 +0200
commit1652fd5df948da7ace622c73d158010add656b9f (patch)
tree49e7eef3c6cdaaaadc38742e56996aaa145ac3de /lib/opentox.rb
parent9d17895ab9e8cd31e0f32e8e622e13612ea5ff77 (diff)
dataset mapfeature_classes
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r--lib/opentox.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb
index 03d65b0..9cc8260 100644
--- a/lib/opentox.rb
+++ b/lib/opentox.rb
@@ -11,13 +11,13 @@ module OpenTox
include Mongoid::Timestamps
store_in collection: klass.downcase.pluralize
field :name, type: String
- field :source, type: String
- field :warnings, type: Array, default: []
+ #field :source, type: String
+ #field :warnings, type: Array, default: []
- def warn warning
+# def warn warning
#$logger.warn warning
- warnings << warning
- end
+# warnings << warning
+# end
end
OpenTox.const_set klass,c
end