From d43b384fe62b289a97dabb1cf7f541cfea013118 Mon Sep 17 00:00:00 2001 From: cramakri <cramakri> Date: Sat, 11 Jun 2011 21:10:06 +0000 Subject: [PATCH] LMS-2323 Fixed errors in validation code. SVN: 21684 --- eu_basynthec/dist/etc/growth-profiles/data-set-validator.py | 2 +- eu_basynthec/dist/etc/metabolomics/data-set-validator.py | 2 +- eu_basynthec/dist/etc/proteomics/data-set-validator.py | 2 +- eu_basynthec/dist/etc/transcriptomics/data-set-validator.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eu_basynthec/dist/etc/growth-profiles/data-set-validator.py b/eu_basynthec/dist/etc/growth-profiles/data-set-validator.py index ec1e5b7039d..c09a86937a6 100644 --- a/eu_basynthec/dist/etc/growth-profiles/data-set-validator.py +++ b/eu_basynthec/dist/etc/growth-profiles/data-set-validator.py @@ -85,7 +85,7 @@ class ValidationHelper: def checkIsSpecified(self, property, displayName): if self.metadataMap.get(property) is None: - errors.add(ValidationError.createFileValidationError("A " + displayName + self.errors.append(ValidationError.createFileValidationError("A " + displayName + " must be specified.")) return False return True diff --git a/eu_basynthec/dist/etc/metabolomics/data-set-validator.py b/eu_basynthec/dist/etc/metabolomics/data-set-validator.py index 5cb73b9af68..e6e549068a4 100644 --- a/eu_basynthec/dist/etc/metabolomics/data-set-validator.py +++ b/eu_basynthec/dist/etc/metabolomics/data-set-validator.py @@ -85,7 +85,7 @@ class ValidationHelper: def checkIsSpecified(self, property, displayName): if self.metadataMap.get(property) is None: - errors.add(ValidationError.createFileValidationError("A " + displayName + self.errors.append(ValidationError.createFileValidationError("A " + displayName + " must be specified.")) return False return True diff --git a/eu_basynthec/dist/etc/proteomics/data-set-validator.py b/eu_basynthec/dist/etc/proteomics/data-set-validator.py index 7ac5a1789b0..c1150d736eb 100644 --- a/eu_basynthec/dist/etc/proteomics/data-set-validator.py +++ b/eu_basynthec/dist/etc/proteomics/data-set-validator.py @@ -85,7 +85,7 @@ class ValidationHelper: def checkIsSpecified(self, property, displayName): if self.metadataMap.get(property) is None: - errors.add(ValidationError.createFileValidationError("A " + displayName + self.errors.append(ValidationError.createFileValidationError("A " + displayName + " must be specified.")) return False return True diff --git a/eu_basynthec/dist/etc/transcriptomics/data-set-validator.py b/eu_basynthec/dist/etc/transcriptomics/data-set-validator.py index 8e1acaeb74b..5cdf0840db0 100644 --- a/eu_basynthec/dist/etc/transcriptomics/data-set-validator.py +++ b/eu_basynthec/dist/etc/transcriptomics/data-set-validator.py @@ -85,7 +85,7 @@ class ValidationHelper: def checkIsSpecified(self, property, displayName): if self.metadataMap.get(property) is None: - errors.add(ValidationError.createFileValidationError("A " + displayName + self.errors.append(ValidationError.createFileValidationError("A " + displayName + " must be specified.")) return False return True -- GitLab