summaryrefslogtreecommitdiff
path: root/scripts/pa-predictions.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2021-03-20 00:14:10 +0100
committerChristoph Helma <helma@in-silico.ch>2021-03-20 00:14:10 +0100
commit7bbe4c444523f281d07f79aa8d0a4719668c3c80 (patch)
treea79efa1decd4284d9454200fd987015826685b6d /scripts/pa-predictions.rb
parenteca6889b784583bc0e9fb338d7b53d4c9b530dc4 (diff)
manuscript update
Diffstat (limited to 'scripts/pa-predictions.rb')
-rwxr-xr-xscripts/pa-predictions.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/pa-predictions.rb b/scripts/pa-predictions.rb
index 9500c39..712017b 100755
--- a/scripts/pa-predictions.rb
+++ b/scripts/pa-predictions.rb
@@ -8,6 +8,8 @@ ARGV.each do |f|
algos << name
File.readlines(f).each do |l|
smi,pred = l.chomp.split(",")
+ pred ||= "NA"
+ pred = nil if pred == "NA"
predictions[smi] ||= {}
predictions[smi][name] = pred
end