Commit 554e579c authored by Mathieu Giraud's avatar Mathieu Giraud

tests: uses a !REQUIRES statement on .should_get tests needing python

It's time to use the nice feature introduced in 15e5ca.
parent 5edcc61a
!REQUIRES: python ../../tools/check_python_version.py
!LAUNCH: ../../vidjil -z 0 -G ../../germline/IGH -w 60 -r 5 -b data ../../data/Stanford_S22.fasta ; cat out/data.vidjil | python ../../tools/format_json.py -1
$ Number of reads
......
!REQUIRES: python ../../tools/check_python_version.py
!LAUNCH: ../../vidjil -z 0 -w 60 -G ../../germline/IGH ../../data/Stanford_S22.fasta ; python ../../tools/fuse.py out/Stanford_S22.vidjil out/Stanford_S22.vidjil -o out/fused.data ; cat out/fused.data | python ../../tools/format_json.py -1
$ Points list
......
import sys
PY_REQUIRED = (2, 7)
if sys.version_info < PY_REQUIRED:
print("This script requires Python >= %d.%d." % (PY_REQUIRED))
sys.exit(1)
......@@ -27,13 +27,8 @@
from __future__ import print_function
import check_python_version
import sys
PY_REQUIRED = (2, 7)
if sys.version_info < PY_REQUIRED:
print("This script requires Python >= %d.%d." % (PY_REQUIRED))
sys.exit(1)
import json
import argparse
import time
......
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