示例#1
0
 def _validate(self):
     validateMsgs = ProtAnalysis3D._validate(self)
     # if there are Volume references, it cannot be empty.
     if self.inputVolume.get() and not self.inputVolume.hasValue():
         validateMsgs.append('Please provide an input reference volume.')
     if self.inputParticles.get() and not self.inputParticles.hasValue():
         validateMsgs.append('Please provide input particles.')
     if self.angularSampling.get() > 40:
         validateMsgs.append("The angular sampling must be <= 40")
     if self.useGpu and not isXmippCudaPresent():
         validateMsgs.append(
             "You have asked to use GPU, but I cannot find the Xmipp GPU programs"
         )
     return validateMsgs
 def __init__(self, *args, **kwargs):
     ProtAnalysis3D.__init__(self, *args, **kwargs)
 def __init__(self, **args):
     ProtAnalysis3D.__init__(self, **args)
     self.min_res_init = Float()
     self.max_res_init = Float()
     self.median_res_init = Float()
    def __init__(self, *args, **kwargs):
        ProtAnalysis3D.__init__(self, *args, **kwargs)

        if (self.WEB == 1):
            self.stepsExecutionMode = STEPS_PARALLEL
示例#5
0
 def __init__(self, **args):
     ProtAnalysis3D.__init__(self, **args)
     self.stepsExecutionMode = params.STEPS_PARALLEL
示例#6
0
 def __init__(self, **kwargs):
     ProtAnalysis3D.__init__(self, **kwargs)
     self.mappingFile = String()
 def __init__(self, **args):
     ProtAnalysis3D.__init__(self, **args)
     self.stepsExecutionMode = 1
 def __init__(self, **args):
     self.vol = ''
     ProtAnalysis3D.__init__(self, **args)