diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-05-09 13:18:17 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-05-09 13:18:17 +0200 |
commit | 426a2e0e3a3c23f13b99785fdd46543353cc6266 (patch) | |
tree | e9efb40a86e8703739b4e78ad23e8a0d467674b1 | |
parent | e9676d060e4214e219e36cbb0444506e22dc8e64 (diff) |
Emitting stripped patterns
m--------- | bbrc-sample | 0 | ||||
-rw-r--r-- | fminer.rb | 6 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bbrc-sample b/bbrc-sample -Subproject bbd8b461eca2d7dcc3cfc247e55846e327be41c +Subproject ad0ffc43072ed9b0d0b90ea5e435241cd5d4fa3 @@ -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 } ] }) |