lib/ctioga2/data/backends/backends/text.rb in ctioga2-0.5 vs lib/ctioga2/data/backends/backends/text.rb in ctioga2-0.6
- old
+ new
@@ -23,11 +23,11 @@
# For separated sets
require 'stringio'
module CTioga2
- Version::register_svn_info('$Revision: 372 $', '$Date: 2012-12-28 18:13:15 +0100 (Fri, 28 Dec 2012) $')
+ Version::register_svn_info('$Revision: 493 $', '$Date: 2013-09-03 22:11:38 +0200 (Tue, 03 Sep 2013) $')
module Data
# A module for easy use of NaN in operations
@@ -181,13 +181,11 @@
if file =~ /#{ext}$/
info { "Taking file #{file} as a compressed file" }
return IO.popen(method % file)
end
end
- return File::open(file)
end
- error { "Could not open #{file}" }
- return nil
+ return File::open(file)
end
# A line is invalid if it is blank or starts
# neither with a digit nor +, - or .
#