Skip to content

Commit

Permalink
update dependency checks
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwengers committed Mar 21, 2022
1 parent 8c2c09a commit 63aed6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platon/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def print_version(self):
VERSION_REGEX = re.compile(r'(\d+)\.(\d+)(?:\.(\d+))?') # regex to search for version number in tool output. Takes missing patch version into consideration.
DEPENDENCIES = [ # List of dependencies: tuples for: min version, max version, tool name & command line parameter, dependency check exclusion options
(Version(2,6,3), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, ('prodigal', '-v')),
(Version(2,0,4), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, ('diamond', 'help')),
(Version(2,10,1), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, ('blastn', '-version')),
(Version(2,0,14), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, ('diamond', 'help')),
(Version(2,12,1), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, ('blastn', '-version')),
(Version(3,3,1), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, ('hmmsearch', '-h')),
(Version(4,0,0), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, ('nucmer', '-V')),
(Version(1,1,2), Version(VERSION_MAX_DIGIT, VERSION_MAX_DIGIT, VERSION_MAX_DIGIT), VERSION_REGEX, ('cmscan', '-h'))
Expand Down

0 comments on commit 63aed6f

Please sign in to comment.