def get_result(self): from pytom.localization.parallel_extract_peaks import getMsgStr mpi_msgString = getMsgStr() result = FRMResult() result.fromStr(mpi_msgString) return result
def get_job(self): from pytom.localization.parallel_extract_peaks import getMsgStr mpi_msgString = getMsgStr() job = FRMJob() job.fromStr(mpi_msgString) return job
def get_job(self): from pytom.localization.parallel_extract_peaks import getMsgStr mpi_msgString = getMsgStr() try: job = pickle.loads(mpi_msgString.encode('utf-8')) except: return None return job
def get_result(self): """ @return: FRM result @rtype: L{FRMResult} """ from pytom.localization.parallel_extract_peaks import getMsgStr mpi_msgString = getMsgStr() result = FRMResult() result.fromStr(mpi_msgString) return result
def get_job(self): """ @return: FRM job @rtype: L{FRMJob} """ from pytom.localization.parallel_extract_peaks import getMsgStr mpi_msgString = getMsgStr() job = FRMJob() job.fromStr(mpi_msgString) return job
def get_result(self): from pytom.localization.parallel_extract_peaks import getMsgStr mpi_msgString = getMsgStr() result = pickle.loads(mpi_msgString.encode('utf-8')) return result