From d7d57cb83dbc78b2aade173bde5fa893ebf634fe Mon Sep 17 00:00:00 2001 From: "helma@in-silico.ch" Date: Tue, 30 Oct 2018 07:50:29 +0000 Subject: regression feature names fixed --- lib/feature.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/feature.rb') diff --git a/lib/feature.rb b/lib/feature.rb index c18b0b8..50bbc42 100644 --- a/lib/feature.rb +++ b/lib/feature.rb @@ -70,7 +70,7 @@ module OpenTox field :model_id, type: BSON::ObjectId field :training_feature_id, type: BSON::ObjectId def name - "#{name} Prediction" + "#{self[:name]} Prediction" end end -- cgit v1.2.3