コード例 #1
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
コード例 #2
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
コード例 #3
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
コード例 #4
0
ファイル: images.py プロジェクト: azazellochg/scipion
 def _validate(self):
     errors = ProtImportFiles._validate(self)
     if self.importFrom == self.IMPORT_FROM_FILES:
         errors += self._validateImages()
     
     return errors