diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-05-07 16:54:11 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-05-07 16:54:11 +0200 |
commit | de396cc7b0ce475a01b51dbe956b0e91032fb10e (patch) | |
tree | 8ad410d83821f875645bac13fb4f1e1a31cd56c7 /example.rb | |
parent | 6f437cd052fef1dfcdf2317688a78442d2d8a1f7 (diff) |
revert changes no feature encoing in dataset
Diffstat (limited to 'example.rb')
-rw-r--r-- | example.rb | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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" |