diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-05-06 12:49:28 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-05-06 12:49:28 +0200 |
commit | 51f57e2858b60bed74ebcc97189b2188c900c283 (patch) | |
tree | a3be50b410e45fad3f33e956bb302c66e0370226 /lib/nanoparticle.rb | |
parent | ab7b37541b4f8a762be737009631d3eefd898b4a (diff) |
dataset tests cleanup
Diffstat (limited to 'lib/nanoparticle.rb')
-rw-r--r-- | lib/nanoparticle.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/nanoparticle.rb b/lib/nanoparticle.rb index c9fbb77..9bf419d 100644 --- a/lib/nanoparticle.rb +++ b/lib/nanoparticle.rb @@ -15,9 +15,9 @@ module OpenTox def add_feature feature, value case feature.category when "P-CHEM" - physchem[feature.id.to_s] ||= [] - physchem[feature.id.to_s] << value - physchem[feature.id.to_s].uniq! + physchem_descriptors[feature.id.to_s] ||= [] + physchem_descriptors[feature.id.to_s] << value + physchem_descriptors[feature.id.to_s].uniq! when "Proteomics" proteomics[feature.id.to_s] ||= [] proteomics[feature.id.to_s] << value |