diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-08-24 12:17:07 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-08-24 12:17:07 +0200 |
commit | 8c6c59980bc82dc2177147f2fe34adf8bfbc1539 (patch) | |
tree | 35fb78389a9ac2d54d4d2190c41a8269a754f205 /lib/feature.rb | |
parent | 398d8ca681db3aa0a0552eee026705e60dd8449d (diff) |
Model::Prediction with tests, initial indexesv0.0.8
Diffstat (limited to 'lib/feature.rb')
-rw-r--r-- | lib/feature.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/feature.rb b/lib/feature.rb index b2bc1f5..22b2846 100644 --- a/lib/feature.rb +++ b/lib/feature.rb @@ -29,6 +29,7 @@ module OpenTox # Feature for SMARTS fragments class Smarts < NominalFeature field :smarts, type: String + index "smarts" => 1 def self.from_smarts smarts self.find_or_create_by :smarts => smarts end |