diff options
author | gebele <gebele@in-silico.ch> | 2014-03-15 10:43:06 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2014-03-15 10:43:06 +0100 |
commit | f65ba61b6d224bbfb73ca7ac04cdd0cef914dda7 (patch) | |
tree | e763091e59c4ff7bfd0a24417cd08ac357a25b3b | |
parent | 3803952a606e9d03d052d3f8038301b2ebbce1fa (diff) |
changed value_type seperator
-rw-r--r-- | test/toxbank-investigation-sparql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/toxbank-investigation-sparql.rb b/test/toxbank-investigation-sparql.rb index e6630e0..1cd43dd 100644 --- a/test/toxbank-investigation-sparql.rb +++ b/test/toxbank-investigation-sparql.rb @@ -345,7 +345,7 @@ class TBSPARQLTestExtended < MiniTest::Test def test_20_investigation_by_gene_and_value # check for FC, pValue, qValue ["FC", "pvalue", "qvalue"].each do |value_type| - response = OpenTox::RestClientWrapper.get "#{$investigation[:uri]}/sparql/investigation_by_gene_and_value", {:geneIdentifiers => "['entrez:3075', 'uniprot:P10809']", :value => "#{value_type}=0.7"}, {:accept => "application/json", :subjectid => $pi[:subjectid]} + response = OpenTox::RestClientWrapper.get "#{$investigation[:uri]}/sparql/investigation_by_gene_and_value", {:geneIdentifiers => "['entrez:3075', 'uniprot:P10809']", :value => "#{value_type}:0.7"}, {:accept => "application/json", :subjectid => $pi[:subjectid]} result = JSON.parse(response) #puts response ["investigation", "datatype", "title", "value"].each do |v| |