From 426a2e0e3a3c23f13b99785fdd46543353cc6266 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Wed, 9 May 2012 13:18:17 +0200 Subject: Emitting stripped patterns --- bbrc-sample | 2 +- fminer.rb | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bbrc-sample b/bbrc-sample index bbd8b46..ad0ffc4 160000 --- a/bbrc-sample +++ b/bbrc-sample @@ -1 +1 @@ -Subproject commit bbd8b461eca2d7dcc3cfc247e55846e327be41c3 +Subproject commit ad0ffc43072ed9b0d0b90ea5e435241cd5d4fa35 diff --git a/fminer.rb b/fminer.rb index e86da65..644d5ad 100644 --- a/fminer.rb +++ b/fminer.rb @@ -360,6 +360,8 @@ post '/fminer/bbrc/sample/?' do smarts = (@r.pull "ans.patterns").collect! { |id| id.gsub(/\'/,"") } # remove extra quotes around smarts r_p_values = @r.pull "ans.p.values" merge_time = @r.pull "merge.time" + n_stripped_mss = @r.pull "n.stripped.mss" + n_stripped_cst = @r.pull "n.stripped.cst" rescue Exception => e LOGGER.debug "#{e.class}: #{e.message}" LOGGER.debug "Backtrace:\n\t#{e.backtrace.join("\n\t")}" @@ -380,7 +382,9 @@ post '/fminer/bbrc/sample/?' do { DC.title => "num_boots", OT.paramValue => num_boots }, { DC.title => "min_frequency_per_sample", OT.paramValue => fminer.minfreq }, { DC.title => "nr_hits", OT.paramValue => hit_count.to_s }, - { DC.title => "merge_time", OT.paramValue => merge_time.to_s } + { DC.title => "merge_time", OT.paramValue => merge_time.to_s }, + { DC.title => "n_stripped_mss", OT.paramValue => n_stripped_mss.to_s }, + { DC.title => "n_stripped_cst", OT.paramValue => n_stripped_cst.to_s } ] }) -- cgit v1.2.3