diff --git a/ispybLib.py b/ispybLib.py index 4c78f2a5..2a6ee2c9 100644 --- a/ispybLib.py +++ b/ispybLib.py @@ -210,6 +210,8 @@ def insertResult(result,resultType,request,visitName,dc_id=None,xmlFileName=None sample = request['sample'] # this needs to be created and linked to a DC group if (resultType == 'fastDP'): mx_data_reduction_dict = xml_file_to_dict(xmlFileName) + comm = mx_data_reduction_dict['AutoProcProgramContainer']['AutoProcProgram']['processingCommandLine'] + mx_data_reduction_dict['AutoProcProgramContainer']['AutoProcProgram']['processingCommandLine'] = comm[len(comm)-255:] (app_id, ap_id, scaling_id, integration_id) = mx_data_reduction_to_ispyb(mx_data_reduction_dict, dc_id, mxprocessing) mxprocessing.upsert_program_ex(program_id=app_id,status=1)