Skip to content

Commit

Permalink
Fix ga4gh param
Browse files Browse the repository at this point in the history
  • Loading branch information
ACEnglish committed Feb 25, 2025
1 parent 8175b8b commit 1014990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions truvari/make_ga4gh.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def parse_args(args):
help="Truvari result directory")
parser.add_argument("-o", "--output", required=True,
help="Output prefix")
parser.add_argument("-r", "--no-refine", action="store_false",
parser.add_argument("-r", "--no-refine", action="store_true",
help="Don't pull from refined results")
parser.add_argument("-w", "--write-phab", action="store_true",
help="Count/Write the phab variant representations")
Expand Down Expand Up @@ -312,7 +312,7 @@ def make_ga4gh_main(args):
logging.info("Consolidating VCFs")
output = make_ga4gh(args.input,
args.output,
pull_refine=args.no_refine,
pull_refine=not args.no_refine,
write_phab=args.write_phab)
logging.info("Stats: %s", json.dumps(output.stats, indent=4))
with open(args.output + '.summary.json' ,'w') as fout:
Expand Down

0 comments on commit 1014990

Please sign in to comment.