summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-02-15 15:03:38 +0100
committerAndreas Maunz <andreas@maunz.de>2012-02-15 15:03:38 +0100
commita95f44df5caefd12af0cf77aac198008d577f671 (patch)
treebeddfbf486b718d9e694e816ed761afe41d610ba
parent46397368c5a4fb881f21b182e095d3721acf8143 (diff)
parent69aa42d67d41901446b58156cc308da4656a8ead (diff)
Merge branch 'development' of github.com:opentox/opentox-ruby into development
-rw-r--r--lib/parser.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/parser.rb b/lib/parser.rb
index d03447c..18c0ba7 100644
--- a/lib/parser.rb
+++ b/lib/parser.rb
@@ -394,7 +394,9 @@ module OpenTox
info = ''
@feature_types.each do |feature,types|
- if types.uniq.size > 1
+ if types.uniq.size == 0
+ type = "helper#MissingFeature"
+ elsif types.uniq.size > 1
type = OT.NumericFeature
else
type = types.first