From 8cac68e89ee1a8ba279766d26668f460651df49d Mon Sep 17 00:00:00 2001 From: Floreal Cabanettes <floreal.cabanettes@inra.fr> Date: Mon, 26 Mar 2018 13:52:57 +0200 Subject: [PATCH] Fix argparse --- build_results.py | 2 +- lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_results.py b/build_results.py index a25e243..278d7ab 100755 --- a/build_results.py +++ b/build_results.py @@ -53,7 +53,7 @@ description: Build results of the simulated data detection") parser.add_argument('-t', '--true-vcf', type=str, required=True, help='VCF file containing the simulated deletions') parser.add_argument('-f', '--filtered-vcf', type=str, required=False, help='File listing VCF files containing the filtered results') - parser.add_argument('-t', '--type', type="str", choices=ALLOW_VARIANTS, help="Type of variant") + parser.add_argument('-y', '--type', type=str, choices=ALLOW_VARIANTS, help="Type of variant") parser.add_argument('--overlap_cutoff', type=float, default=0.5, help='cutoff for reciprocal overlap') parser.add_argument('--left_precision', type=int, default=-1, help='left breakpoint precision') parser.add_argument('--right_precision', type=int, default=-1, help='right breakpoint precision') diff --git a/lib b/lib index 280518a..3a61cc6 160000 --- a/lib +++ b/lib @@ -1 +1 @@ -Subproject commit 280518a443d37a579762928940355aafb571b671 +Subproject commit 3a61cc6f2f09a359375fba1beb573c88cce1bad6 -- GitLab