share/rbbt_commands/workflow/info in rbbt-util-5.21.133 vs share/rbbt_commands/workflow/info in rbbt-util-5.21.134

- old
+ new

@@ -25,11 +25,12 @@ all = options.delete :all recursive = options.delete :recursive def get_step(file) file = file.sub(/\.(info|files)/,'') - Step.new file + step = Workflow.load_step file + step end def status_msg(status) color = case status.to_sym when :error, :aborted, :missing, :dead @@ -82,10 +83,10 @@ pid = info[:pid] exception = info[:exception] rest = info.keys - [:inputs, :dependencies, :status, :time_elapsed, :messages, :backtrace, :exception, :pid] puts Log.color(:magenta, "File") << ": " << step.path -puts Log.color(:magenta, "Status") << ": " << status_msg(status) << ((step.aborted? || step.error?) && step.recoverable_error? ? " (recoverable)" : "" ) +puts Log.color(:magenta, "Status") << ": " << status_msg(status) << ((step.aborted? || step.error?) && step.recoverable_error? ? " (recoverable)" : "" ) << (step.dirty? ? " (dirty)" : "") puts Log.color(:magenta, "Pid") << ": " << pid_msg(pid, status.to_s == "done") puts Log.color(:magenta, "Time") << ": " << time.to_i.to_s << " sec." if time puts Log.color(:magenta, "Total time") << ": " << total_time.to_i.to_s << " sec." if time if inputs and inputs.any? puts Log.color(:magenta, "Inputs")