コード例 #1
0
    def _defineParams(self, form):
        ProtImportFiles._defineParams(self, form)

        form.addParam('inputMicrographs', PointerParam, pointerClass='SetOfMicrographs', 
                          label='Input micrographs',
                          help='Select the particles that you want to import coordinates.')

        form.addParam('boxSize', IntParam, label='Box size')
        form.addParam('scale', FloatParam,
                      label='Scale', default=1,
                      help='factor to scale coordinates')
        form.addParam('invertX', BooleanParam, default=False,
                      label='Invert X')
        form.addParam('invertY', BooleanParam, default=False,
                      label='Invert Y')
コード例 #2
0
ファイル: coordinates.py プロジェクト: EyeSeeTea/scipion-web
    def _defineParams(self, form):
        ProtImportFiles._defineParams(self, form)

        form.addParam(
            'inputMicrographs',
            PointerParam,
            pointerClass='SetOfMicrographs',
            label='Input micrographs',
            help=
            'Select the micrographs for which you want to import coordinates.')

        form.addParam('boxSize', IntParam, label='Box size')
        form.addParam('scale',
                      FloatParam,
                      label='Scale',
                      default=1,
                      help='Factor to scale coordinates')
        form.addParam('invertX', BooleanParam, default=False, label='Invert X')
        form.addParam('invertY', BooleanParam, default=False, label='Invert Y')
コード例 #3
0
ファイル: images.py プロジェクト: the-best-elephant/scipion
    def _validate(self):
        errors = ProtImportFiles._validate(self)

        # Check that files are proper EM images, only when importing from
        # files and not using streaming. In the later case we could
        # have partial files not completed.
        if (self.importFrom == self.IMPORT_FROM_FILES
                and not self.dataStreaming):
            errors += self._validateImages()

        return errors
コード例 #4
0
ファイル: images.py プロジェクト: I2PC/scipion
    def _validate(self):
        errors = ProtImportFiles._validate(self)

        # Check that files are proper EM images, only when importing from
        # files and not using streaming. In the later case we could
        # have partial files not completed.
        if (self.importFrom == self.IMPORT_FROM_FILES and
            not self.dataStreaming):
            errors += self._validateImages()
        
        return errors
コード例 #5
0
 def __init__(self, **args):
     ProtImportFiles.__init__(self, **args)
コード例 #6
0
ファイル: images.py プロジェクト: denisfortun/scipion
 def _defineParams(self, form):
     ProtImportFiles._defineParams(self, form)
     self._defineAcquisitionParams(form)
コード例 #7
0
ファイル: volumes.py プロジェクト: azazellochg/scipion
 def __init__(self, **args):
     ProtImportFiles.__init__(self, **args)
コード例 #8
0
ファイル: images.py プロジェクト: EyeSeeTea/scipion-web
 def _defineParams(self, form):
     ProtImportFiles._defineParams(self, form)
     self._defineAcquisitionParams(form)
コード例 #9
0
ファイル: images.py プロジェクト: EyeSeeTea/scipion-web
    def _validate(self):
        errors = ProtImportFiles._validate(self)
        if self.importFrom == self.IMPORT_FROM_FILES:
            errors += self._validateImages()

        return errors
コード例 #10
0
ファイル: coordinates.py プロジェクト: I2PC/scipion
    def _defineParams(self, form):


        ProtImportFiles._defineParams(self, form)
コード例 #11
0
ファイル: coordinates.py プロジェクト: liz18/scipion
    def _defineParams(self, form):

        ProtImportFiles._defineParams(self, form)
コード例 #12
0
ファイル: images.py プロジェクト: azazellochg/scipion
 def _validate(self):
     errors = ProtImportFiles._validate(self)
     if self.importFrom == self.IMPORT_FROM_FILES:
         errors += self._validateImages()
     
     return errors