share/rbbt_commands/hpc/tail in rbbt-util-5.34.8 vs share/rbbt_commands/hpc/tail in rbbt-util-5.34.9
- old
+ new
@@ -44,10 +44,10 @@
directory = File.dirname(file)
break
end
end
-raise ParameterException, "Could not identify job #{directory}" unless File.exists?(directory)
+raise ParameterException, "Could not identify job #{directory}" unless File.exist?(directory)
require 'rbbt/hpc/slurm'
command_txt = Open.read(File.join(directory, 'command.batch'))
if m = command_txt.match(/#STEP_PATH: (.*)/)