summaryrefslogtreecommitdiff
path: root/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'helper.rb')
-rw-r--r--helper.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/helper.rb b/helper.rb
index 06b1517..c4c6d2b 100644
--- a/helper.rb
+++ b/helper.rb
@@ -109,8 +109,6 @@ helpers do
line += "#{output['model_name']},#{compound.smiles},#{prediction[:info] ? prediction[:info] : "no"},"\
"#{prediction[:measurements].collect{|m| m.delog10.signif(3)}.join("; ") if prediction[:info]},,,,,,,"+ [inApp,note].join(",")+"\n"
else
- #line += "Consensus mutagenicity,#{compound.smiles},#{prediction[:info] ? prediction[:info] : "no"},"\
- # "#{prediction[:measurements].join("; ") if prediction[:info]},,,,,,,"+ [inApp,note].join(",")+"\n"
line += "Consensus mutagenicity,#{compound.smiles},"\
"\"#{prediction[:info] ? prediction[:info] : "no"}\",\"#{output['measurements'].join("; ") if prediction[:info]}\","\
"#{prediction['Consensus prediction']},"\
@@ -128,11 +126,4 @@ helpers do
csv
end
- def dataset_storage
- all = Batch.where(:source => /^tmp/)
- out = Hash.new
- all.reverse.each{|d| out[d.id] = [d.name, d.created_at]}
- out
- end
-
end