Mercurial > repos > dchristiany > data_manager_proteore
diff data_manager/resource_building.py @ 48:4b6c6f9b4de0 draft
planemo upload commit 23c8d2008471f194131da1c7705c8bb0b6388236-dirty
author | dchristiany |
---|---|
date | Fri, 01 Feb 2019 10:34:11 -0500 |
parents | 7b486b0fba4e |
children | 8f6ddad93e9f |
line wrap: on
line diff
--- a/data_manager/resource_building.py Fri Feb 01 10:30:00 2019 -0500 +++ b/data_manager/resource_building.py Fri Feb 01 10:34:11 2019 -0500 @@ -114,7 +114,7 @@ return False def check_entrez_geneid (id) : - entrez_pattern = re.complie("[0-9]+|[A-Z]{1,2}_[0-9]+|[A-Z]{1,2}_[A-Z]{1,4}[0-9]+") + entrez_pattern = re.compile("[0-9]+|[A-Z]{1,2}_[0-9]+|[A-Z]{1,2}_[A-Z]{1,4}[0-9]+") if entrez_pattern.match(id) : return True else :