Workflows

Test Tool

class mg_process_test.workflow.test_workflow.process_test(configuration=None)[source]

Functions for demonstrating the pipeline set up.

run(input_files, metadata, output_files)[source]

Main run function for processing a test file.

Parameters:
  • input_files (dict) – Dictionary of file locations
  • metadata (list) – Required meta data
  • output_files (dict) – Locations of the output files to be returned by the pipeline
Returns:

  • output_files (dict) – Locations for the output txt
  • output_metadata (dict) – Matching metadata for each of the files