summaryrefslogtreecommitdiff
path: root/prediction.rb
diff options
context:
space:
mode:
Diffstat (limited to 'prediction.rb')
-rw-r--r--prediction.rb35
1 files changed, 0 insertions, 35 deletions
diff --git a/prediction.rb b/prediction.rb
deleted file mode 100644
index afceb08..0000000
--- a/prediction.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-module OpenTox
-
- class Prediction
-
- include OpenTox
- include Mongoid::Document
- include Mongoid::Timestamps
- store_in collection: "predictions"
- field :compound, type: BSON::ObjectId
- field :model, type: BSON::ObjectId
- field :prediction, type: Hash, default:{}
- field :csv, type: String
-
- attr_accessor :compound, :model, :prediction, :csv
-
- def compound
- self[:compound]
- end
-
- def model
- self[:model]
- end
-
- def prediction
- self[:prediction]
- end
-
- def csv
- self[:csv]
- end
-
- end
-
-end
-