lib/openstudio/extension/runner.rb in openstudio-extension-0.2.6 vs lib/openstudio/extension/runner.rb in openstudio-extension-0.3.0

- old
+ new

@@ -654,19 +654,10 @@ STDOUT.flush else puts 'simulations are not performed, since to the @options[:run_simulations] is set to false' end - if @options[:run_simulations] - # Additional checks for failed CLI - if File.exist?(File.join(run_dir, 'failed.job')) - result = false - end - - if !File.exist?(File.join(run_dir, 'finished.job')) - result = false - end - end + # DLM: this does not always return false for failed CLI runs, consider checking for failed.job file as backup test return result end # run osws, return any failure messages