From a32b965bb3fd5b16a9c1edc972a6ecd6c3fa54ab Mon Sep 17 00:00:00 2001
From: cramakri <cramakri>
Date: Wed, 7 Dec 2011 09:54:19 +0000
Subject: [PATCH] SE-391 Improvments to transcriptomics validator

SVN: 23902
---
 .../etc/transcriptomics/data-set-validator.py     |   2 +-
 .../examples/~$Metabolomics-Example.xlsx          | Bin 171 -> 0 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
 delete mode 100644 eu_basynthec/sourceTest/examples/~$Metabolomics-Example.xlsx

diff --git a/eu_basynthec/dist/etc/transcriptomics/data-set-validator.py b/eu_basynthec/dist/etc/transcriptomics/data-set-validator.py
index 7eece315c6a..0b7095673b6 100644
--- a/eu_basynthec/dist/etc/transcriptomics/data-set-validator.py
+++ b/eu_basynthec/dist/etc/transcriptomics/data-set-validator.py
@@ -3,7 +3,7 @@ def validate_header(line, first_data_col, errors):
   if line[0] != "Locustag":
     errors.append(createFileValidationError("The first data column must be 'Locustag' (not " + line[0] + ")."))
     return False
-  header_regex = re.compile("^MGP[0-9]{1,3}-[0-9] [0-9]+")
+  header_regex = re.compile("^.+-[0-9] [0-9]+")
   for i in range(first_data_col, len(line)):
     match = header_regex.match(line[i])
     if match is None:
diff --git a/eu_basynthec/sourceTest/examples/~$Metabolomics-Example.xlsx b/eu_basynthec/sourceTest/examples/~$Metabolomics-Example.xlsx
deleted file mode 100644
index 24f29bb860948c7c5f82a89ff6bfd4ff17ce621a..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 171
mcmZQe(M>8YPE{ZgurZ`C=rSZR6a!%@g944Az^uDIin#y}(h}+b

-- 
GitLab