lib/genecrmod/gene.rb in genecrmod-0.2.0 vs lib/genecrmod/gene.rb in genecrmod-0.2.1
- old
+ new
@@ -292,10 +292,10 @@
@growth_rates = get_h5_narray_all(ofile, '/gamma').to_gslv
@frequencies = get_h5_narray_all(ofile, '/omega').to_gslv
elsif FileTest.exist?('omega.dat')
@kyvals, @growth_rates, @frequencies = GSL::Vector.filescan('omega.dat')
else
- @kyvals, @growth_rates, @frequencies = [[]] * 3
+ @kyvals, @growth_rates, @frequencies = [nil] * 3
end
end
end
def graphkit(name, options={})
case name