Commit 6161c253 authored by charlie-ablett's avatar charlie-ablett
Browse files

Process step returns an empty manifest if the step has not finished.

parent 67faea71
......@@ -32,7 +32,9 @@ class ProcessStep < ApplicationRecord
def output_file_manifest
if output_file_list.present?
if !finished?
elsif output_file_list.present?
elsif File.exists?(working_directory)
assemble_manifest(directory: working_directory)
......@@ -40,6 +42,7 @@ class ProcessStep < ApplicationRecord
# @TODO flag an error to admin!
ap "Cannot find file location for process step id '#{}', chain id '#{process_chain_id}' and recipe id '#{process_chain.recipe_id}'"
ap "Looking in #{working_directory}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment