def Colspot(self): colspot = _Colspot(params=PhilIndex.params.xds.colspot) colspot.set_working_directory(self.get_working_directory()) colspot.setup_from_imageset(self.get_imageset()) if self.get_distance(): colspot.set_distance(self.get_distance()) if self.get_wavelength(): colspot.set_wavelength(self.get_wavelength()) auto_logfiler(colspot, "COLSPOT") return colspot
def Colspot(self): from xia2.Handlers.Phil import PhilIndex colspot = _Colspot(params=PhilIndex.params.xds.colspot) colspot.set_working_directory(self.get_working_directory()) colspot.setup_from_imageset(self.get_imageset()) if self.get_distance(): colspot.set_distance(self.get_distance()) if self.get_wavelength(): colspot.set_wavelength(self.get_wavelength()) auto_logfiler(colspot, 'COLSPOT') return colspot