lib/genecrmod/gene.rb in genecrmod-0.1.2 vs lib/genecrmod/gene.rb in genecrmod-0.1.3
- old
+ new
@@ -221,10 +221,10 @@
end
end
end
def get_completed_timesteps
Dir.chdir(@directory) do
- @completed_timesteps = %x[grep '^\\s\\+\\S\\+\\s*$' nrg.dat &2>/dev/null].split("\n").size
+ @completed_timesteps = %x[grep '^\\s\\+\\S\\+\\s*$' nrg.dat 2>/dev/null].split("\n").size
end
end
@fortran_namelist_source_file_match = /((\.F9[05])|(\.fpp)|COMDAT.inc)$/