Attention une mise à jour du service Gitlab va être effectuée le mardi 14 décembre entre 13h30 et 14h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit bf23af89 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

benchmark-releases.py: (partial) compatibility for <= 2016.09 and 2017.03

parent b2341efa
Pipeline #142990 passed with stages
in 40 minutes
......@@ -43,6 +43,8 @@ BENCHS = OrderedDict([
])
COMPATIBILITY = [
('2017.03', '-g ../../germline/homo-sapiens.g', '-g bench/src/2016.09/vidjil-2016.09/germline'),
('2017.09', '-g ../../germline/homo-sapiens.g', '-g bench/src/2017.03/vidjil-2017.03/germline/homo-sapiens.g'),
('2019.03', '-c designations', '-c segment'),
]
......@@ -67,7 +69,11 @@ def color(col, text, colorize = True):
return text
return CSIm % col + text + CSIm % ANSI.RESET
#
# Compatibility with old releases
def setup_compatibility():
go('make -C bench/src/2016.09/vidjil-2016.09 germline')
go('make -C bench/src/2017.03/vidjil-2017.03 germline')
def convert(cmd, release):
'''
......@@ -194,6 +200,7 @@ def install_from_archive(install_versions):
install(release, tgz)
except subprocess.CalledProcessError:
print("FAILED")
setup_compatibility()
def installed():
return sorted([f.replace(BIN, '') for f in glob.glob('%s/*' % BIN)])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment