def Sequence_Load_PSF(\
self,
pipelineitem
):
if self.pipeline_started == True:
title = "Sequence " + pipelineitem.treeitem['name']
self.ancestor.GetPage(0).queue_info.put("Preparing PSF in memory...")
filename_in = pipelineitem.input_filename.objectpath.GetValue()
try:
array = LoadArray(self, filename_in)
except:
msg = "Could not load array."
wx.CallAfter(self.UserMessage, title, msg)
self.pipeline_started = False
return
try:
self.psf = array
self.ancestor.GetPage(0).queue_info.put("done.")
except:
msg = "Could not save array."
wx.CallAfter(self.UserMessage, title, msg)
self.pipeline_started = False
return
评论列表
文章目录