diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-05-11 15:56:55 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-05-11 15:56:55 +0200 |
commit | 03a87a832162ccf17b6f0ebfda126e3622530ca3 (patch) | |
tree | 6ee1c24b542e1140bfcb477fea0fe0c44bcad31c /lib | |
parent | 524a68d8429b8adc16bd8073774f9305cb7138a0 (diff) |
Further Martin patch
Diffstat (limited to 'lib')
-rw-r--r-- | lib/feature.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/feature.rb b/lib/feature.rb index f6e2dfd..eb0b869 100644 --- a/lib/feature.rb +++ b/lib/feature.rb @@ -19,14 +19,7 @@ module OpenTox # provides domain (possible target values) of classification feature # @return [Array] list with possible target values def domain - if metadata[OT.acceptValue] - raise "accept value found, remove hack and implement correctly" - else - if @uri=~/feature\/26221/ || @uri=~/feature\/221726/ - return ["mutagen" , "nonmutagen"] - end - return [true, false] - end + return [true, false] end # provides feature type, possible types are "regression" or "classification" |