diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-02-21 15:44:24 +0100 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-02-21 15:44:24 +0100 |
commit | 9bc9d1c5c11aa64d410200cc21d07acc39cc3019 (patch) | |
tree | f2f1f8ba9ca00b474cb7d22732d6a906e6cf58e0 /lib/dataset.rb | |
parent | 53dec3e3b1a59760ac9440749d159edc7ac09359 (diff) |
fix for Datset#add false values, fix for parsing compounds without values
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r-- | lib/dataset.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dataset.rb b/lib/dataset.rb index efab0a3..2c47502 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -237,7 +237,7 @@ module OpenTox @features[feature] = {} unless @features[feature] @data_entries[compound] = {} unless @data_entries[compound] @data_entries[compound][feature] = [] unless @data_entries[compound][feature] - @data_entries[compound][feature] << value if value + @data_entries[compound][feature] << value if value!=nil end # Add/modify metadata, existing entries will be overwritten |