diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-11-04 17:50:32 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-11-04 17:50:32 +0100 |
commit | c23f4b8a915c0df4f34b6c3787829e1f513df571 (patch) | |
tree | 298faed0b20077615357a6bc0a4b6d7e61bd8a16 /lib/dataset.rb | |
parent | ca2bb0f90335b1f2c4ecc28ee423e85b281ffcf0 (diff) | |
parent | 2081bda2b72f34758847fe699fecf890dae1e3df (diff) |
Merge branch 'development' of github.com:opentox/lazar into development
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 af116a9..366c79f 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -173,7 +173,7 @@ module OpenTox $logger.debug "Skipping import of #{file}, it is already in the database (id: #{dataset.id})." else $logger.debug "Parsing #{file}." - table = CSV.read file, :skip_blanks => true + table = CSV.read file, :skip_blanks => true, :encoding => 'windows-1251:utf-8' dataset = self.new(:source => source, :name => name) dataset.parse_table table, bioassay end |