@@ -61,7 +61,7 @@ def create_analysis_process(
6161 ),
6262 'schema_type' : SCHEMA_TYPE ,
6363 'process_core' : get_analysis_process_core (analysis_workflow_id = analysis_id ),
64- 'process_type ' : get_analysis_process_type (),
64+ 'type ' : get_analysis_process_type (),
6565 'timestamp_start_utc' : format_timestamp (workflow_metadata .get ('start' )),
6666 'timestamp_stop_utc' : format_timestamp (workflow_metadata .get ('end' )),
6767 'input_bundles' : input_bundles_string .split (',' ),
@@ -110,7 +110,7 @@ def create_analysis_protocol(
110110 'schema_type' : SCHEMA_TYPE ,
111111 'protocol_core' : get_analysis_protocol_core (pipeline_version = pipeline_version ),
112112 'computational_method' : method ,
113- 'protocol_type ' : get_analysis_protocol_type (),
113+ 'type ' : get_analysis_protocol_type (),
114114 }
115115 return analysis_protocol
116116
@@ -161,7 +161,7 @@ def get_outputs(output_urls, extension_to_format, schema_url, analysis_file_vers
161161 'schema_type' : 'file' ,
162162 'file_core' : {
163163 'file_name' : output_url .split ('/' )[- 1 ],
164- 'file_format ' : get_file_format (output_url , extension_to_format ),
164+ 'format ' : get_file_format (output_url , extension_to_format ),
165165 },
166166 }
167167 for output_url in sorted (output_urls )
0 commit comments