Пример #1
0
 def _validate(self):
     ci = self.getImportClass()
     if ci is None:
         return ProtImportImages._validate(self)
     else:
         errors = self._validateFileExtension()
         if errors:
             return errors
         else:
             return ci.validateParticles()
Пример #2
0
 def _validate(self):
     ci = self.getImportClass()
     if ci is None:
         return ProtImportImages._validate(self)
     else:
         errors = self._validateFileExtension()
         if errors:
             return errors
         else:
             return ci.validateParticles()
Пример #3
0
 def _validate(self):
     ci = self.getImportClass()
     if ci is None:
         return ProtImportImages._validate(self)
     else:
         return ci.validateParticles()
Пример #4
0
    def _validate(self):
        errors = ProtImportImages._validate(self)

        errors += self._validateBlacklist()

        return errors
Пример #5
0
 def _validate(self):
     ci = self.getImportClass()
     if ci is None:
         return ProtImportImages._validate(self)
     else:
         return ci.validateParticles()