log_to_ispyb(self.integration_id_noanom, 'Scaling', 'Successful', 'noanom resolution cutoffs finished in {0}s'.format(self.stats['res_cutoff_anom'] + self.stats['res_cutoff_noanom'])) # now we just have to run XScale to generate w/ and w/out # anom, merged and unmerged # We use another control plugin for that to isolate the whole thing xscale_generate_in = XSDataXscaleInput() input_file = XSDataXscaleInputFile() input_file.path_anom = self.generate.dataOutput.hkl_anom input_file.path_noanom = self.generate.dataOutput.hkl_no_anom input_file.res = self.res_cutoff_anom.dataOutput.res xscale_generate_in.xds_files = [input_file] xscale_generate_in.unit_cell_constants = self.parse_xds_anom.dataOutput.unit_cell_constants xscale_generate_in.sg_number = self.parse_xds_anom.dataOutput.sg_number xscale_generate_in.bins = self.res_cutoff_anom.dataOutput.bins self.xscale_generate.dataInput = xscale_generate_in self.DEBUG('STARTING xscale generation') log_to_ispyb([self.integration_id_anom, self.integration_id_noanom], 'Scaling', 'Launched', 'start of xscale generation') t0=time.time() self.xscale_generate.executeSynchronous()
self.screen('FINISHED noanom res cutoff') log_to_ispyb( self.integration_id_noanom, 'Scaling', 'Successful', 'noanom resolution cutoffs finished in {0}s'.format( self.stats['res_cutoff_anom'] + self.stats['res_cutoff_noanom'])) # now we just have to run XScale to generate w/ and w/out # anom, merged and unmerged # We use another control plugin for that to isolate the whole thing xscale_generate_in = XSDataXscaleInput() input_file = XSDataXscaleInputFile() input_file.path_anom = self.generate.dataOutput.hkl_anom input_file.path_noanom = self.generate.dataOutput.hkl_no_anom input_file.res = self.res_cutoff_anom.dataOutput.res xscale_generate_in.xds_files = [input_file] xscale_generate_in.unit_cell_constants = self.parse_xds_anom.dataOutput.unit_cell_constants xscale_generate_in.sg_number = self.parse_xds_anom.dataOutput.sg_number xscale_generate_in.bins = self.res_cutoff_anom.dataOutput.bins self.xscale_generate.dataInput = xscale_generate_in self.DEBUG('STARTING xscale generation') log_to_ispyb([self.integration_id_anom, self.integration_id_noanom], 'Scaling', 'Launched', 'start of xscale generation') t0 = time.time() self.xscale_generate.executeSynchronous() self.stats['xscale_generate'] = time.time() - t0