summaryrefslogtreecommitdiff
path: root/lib/parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parser.rb')
-rw-r--r--lib/parser.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/parser.rb b/lib/parser.rb
index 18c0ba7..56e4fed 100644
--- a/lib/parser.rb
+++ b/lib/parser.rb
@@ -522,6 +522,7 @@ module OpenTox
def initialize
@data = {}
@activity_errors = []
+ @max_class_values = 3
end
def feature_values(feature)
@@ -653,8 +654,8 @@ module OpenTox
obmol.get_data.each { |d| row[d.get_attribute] = d.get_value if properties.include?(d.get_attribute) }
table.data[compound.uri] = row
end
-
- # finda and remove ignored_features
+
+ # find and remove ignored_features
@activity_errors = table.clean_features
table.add_to_dataset @dataset