From 1652fd5df948da7ace622c73d158010add656b9f Mon Sep 17 00:00:00 2001 From: "helma@in-silico.ch" Date: Wed, 24 Oct 2018 18:21:34 +0200 Subject: dataset map --- lib/opentox.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/opentox.rb') 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 -- cgit v1.2.3