summaryrefslogtreecommitdiff
path: root/example.rb
diff options
context:
space:
mode:
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"