Tools¶
Test Tool¶
-
class
mg_process_test.tool.testTool.
testTool
(configuration=None)[source]¶ Tool for writing to a file
-
run
(input_files, input_metadata, output_files)[source]¶ The main function to run the test_writer tool
Parameters: - input_files (dict) – List of input files - In this case there are no input files required
- input_metadata (dict) – Matching metadata for each of the files, plus any additional data
- output_files (dict) – List of the output files that are to be generated
Returns: - output_files (dict) – List of files with a single entry.
- output_metadata (dict) – List of matching metadata for the returned files
-
test_writer
(**kwargs)[source]¶ Count the number of characters in a file and return a file with the count
Parameters: - file_in_loc (str) – Location of the input file
- file_out_loc (str) – Location of an output file
Returns: Writes to the file, which is returned by pyCOMPSs to the defined location
Return type: bool
-