diff options
author | gebele <gebele@in-silico.ch> | 2019-05-28 14:25:52 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2019-05-28 14:25:52 +0000 |
commit | 5a3be4190688bc8240327930b3e953b09ecc9d9e (patch) | |
tree | c26ae148d18bcb0195a092b9339dbfcd16718a9e /prediction.rb | |
parent | 750e91ae181c06c2f9d067d540d2d336274049b0 (diff) |
before clean up
Diffstat (limited to 'prediction.rb')
-rw-r--r-- | prediction.rb | 35 |
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 - |