Skip to content

Commit

Permalink
Merge pull request #326 from JunAishima/2023-3-amxfmx-ispyb-processing
Browse files Browse the repository at this point in the history
2023 3 amxfmx ispyb processing
  • Loading branch information
JunAishima authored Oct 16, 2023
2 parents 151a71f + 5a17f0c commit 3f07c6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ispybLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3f07c6c

Please sign in to comment.