diff options
author | gebele <gebele@in-silico.ch> | 2013-07-05 12:29:49 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-07-05 12:29:49 +0200 |
commit | 0a47ab1a55a5e9e7a5ba0e332ccb1c73db47ca80 (patch) | |
tree | dbb5c92eda37bf368999ceb3cb126360b2ee6041 | |
parent | 08058d3c08d2afba0068e88727901ca639454568 (diff) |
prevent blank cmpound uris from duplicates warning
-rw-r--r-- | helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ module OpenTox end compound_uris.duplicates.each do |uri| positions = [] - compound_uris.each_with_index{|c,i| positions << i+1 if c == uri} + compound_uris.each_with_index{|c,i| positions << i+1 if !c.blank? and c == uri} @warnings << "Duplicate compound #{uri} at rows #{positions.join(', ')}. Entries are accepted, assuming that measurements come from independent experiments." end |