summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-05-08 08:18:04 +0200
committerAndreas Maunz <andreas@maunz.de>2012-05-08 08:18:04 +0200
commitb0f3f05d6a8df53956547d04a6a82316ee78b102 (patch)
tree8c9c9babd0382ac3f69e5f9c951e1751c96112e2
parent615b105230453e04bf6ec0354f2c391170e76974 (diff)
Removed debug
m---------bbrc-sample0
-rw-r--r--fminer.rb5
2 files changed, 1 insertions, 4 deletions
diff --git a/bbrc-sample b/bbrc-sample
-Subproject fc4ae7d22a60838a62747069660542c304ce2f1
+Subproject 813595bc811e1fdb71dee0ea9e2f0dc9b6a44cd
diff --git a/fminer.rb b/fminer.rb
index ee7f8e9..abedc36 100644
--- a/fminer.rb
+++ b/fminer.rb
@@ -359,7 +359,7 @@ post '/fminer/bbrc/sample/?' do
@r.assign "dataset.service", CONFIG[:services]["opentox-dataset"]
@r.eval "source(\"bbrc-sample/bbrc-sample.R\")"
- @r.eval "bootBbrc(dataset.uri, prediction.feature.uri, num.boots, min.frequency.per.sample, min.sampling.support, NULL, bbrc.service, dataset.service, F)"
+ @r.eval "bootBbrc(dataset.uri, prediction.feature.uri, num.boots, min.frequency.per.sample, min.sampling.support, NULL, bbrc.service, dataset.service, T)"
smarts = (@r.pull "ans.patterns").collect! { |id| id.gsub(/\'/,"") } # remove extra quotes around smarts
r_p_values = @r.pull "ans.p.values"
@@ -369,9 +369,6 @@ post '/fminer/bbrc/sample/?' do
lu = LU.new # AM LAST: uses last-utils here
params[:nr_hits] == "true" ? hit_count=true: hit_count=false
-
- LOGGER.debug fminer.smi.to_yaml
- LOGGER.debug smarts.to_yaml
matches, counts = lu.match_rb(fminer.smi,smarts,hit_count) # AM LAST: creates instantiations
matches.each do |smarts, ids|