summaryrefslogtreecommitdiff
path: root/lib/dataset.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2015-11-04 17:50:32 +0100
committerChristoph Helma <helma@in-silico.ch>2015-11-04 17:50:32 +0100
commitc23f4b8a915c0df4f34b6c3787829e1f513df571 (patch)
tree298faed0b20077615357a6bc0a4b6d7e61bd8a16 /lib/dataset.rb
parentca2bb0f90335b1f2c4ecc28ee423e85b281ffcf0 (diff)
parent2081bda2b72f34758847fe699fecf890dae1e3df (diff)
Merge branch 'development' of github.com:opentox/lazar into development
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r--lib/dataset.rb2
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