From 64f1f32ced77afb278bdb7c27397c5299a73675c Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 13 Apr 2016 18:18:36 +0200 Subject: improved enm import --- lib/substance.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/substance.rb') diff --git a/lib/substance.rb b/lib/substance.rb index a5b9825..6768ce7 100644 --- a/lib/substance.rb +++ b/lib/substance.rb @@ -1,9 +1,8 @@ module OpenTox class Substance - include OpenTox - include Mongoid::Document - include Mongoid::Timestamps + field :physchem_descriptors, type: Hash, default: {} + field :dataset_ids, type: Array, default: [] end end -- cgit v1.2.3