summaryrefslogtreecommitdiff
path: root/example.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-05-07 16:54:11 +0200
committermguetlein <martin.guetlein@gmail.com>2010-05-07 16:54:11 +0200
commitde396cc7b0ce475a01b51dbe956b0e91032fb10e (patch)
tree8ad410d83821f875645bac13fb4f1e1a31cd56c7 /example.rb
parent6f437cd052fef1dfcdf2317688a78442d2d8a1f7 (diff)
revert changes no feature encoing in dataset
Diffstat (limited to 'example.rb')
-rw-r--r--example.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/example.rb b/example.rb
index 9f46705..5d81061 100644
--- a/example.rb
+++ b/example.rb
@@ -6,8 +6,7 @@ class Example
@@file=File.new("data/hamster_carcinogenicity.yaml","r")
@@file_type="text/x-yaml"
@@model=File.join @@config[:services]["opentox-model"],"1"
- #@@feature="http://localhost/toxmodel/feature%23Hamster%20Carcinogenicity%20(DSSTOX/CPDB)"
- @@feature= "http://localhost/toxmodel/feature#Hamster%20Carcinogenicity%20(DSSTOX/CPDB)"
+ @@feature= URI.encode("http://localhost/toxmodel/feature#Hamster%20Carcinogenicity%20(DSSTOX/CPDB)")
@@alg = File.join @@config[:services]["opentox-algorithm"],"lazar"
@@alg_params = "feature_generation_uri="+File.join(@@config[:services]["opentox-algorithm"],"fminer")
@@data=File.join @@config[:services]["opentox-dataset"],"1"