summaryrefslogtreecommitdiff
path: root/lib/parser.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-11-19 16:53:21 +0100
committerChristoph Helma <helma@in-silico.ch>2010-11-19 16:53:21 +0100
commitf8552611c2dbe25d76474f51e4e895bf9c2b5c5e (patch)
treeda145cd1d69adc4cdb8d299f0cea2e0810b88eaf /lib/parser.rb
parent91c95f8dc8f60a8f0029b970ef881eecee28401b (diff)
lazar predictions for toxcreate working
Diffstat (limited to 'lib/parser.rb')
-rw-r--r--lib/parser.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/parser.rb b/lib/parser.rb
index 4d8e729..b727412 100644
--- a/lib/parser.rb
+++ b/lib/parser.rb
@@ -116,7 +116,7 @@ module OpenTox
end
end
load_features
- @dataset.metadata = metadata
+ @dataset.metadata = load_metadata
@dataset
end
@@ -253,10 +253,8 @@ module OpenTox
when OT.NumericFeature
@dataset.add compound.uri, feature, value.to_f
when OT.StringFeature
- # TODO: insert ??
@dataset.add compound.uri, feature, value.to_s
@activity_errors << smiles+", "+row.join(", ")
- #return false
end
end
end