Skip to content

Commit

Permalink
update --airr-output for --paired-loci
Browse files Browse the repository at this point in the history
  • Loading branch information
psathyrella committed Apr 4, 2021
1 parent 6f8aa9f commit 625898d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/processargs.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def process(args):
args.aligned_germline_fname = '%s/%s/imgt-alignments/%s.fa' % (args.default_initial_germline_dir, args.species, args.locus)
if not os.path.exists(args.aligned_germline_fname):
raise Exception('--aligned-germline-fname %s doesn\'t exist, but we need it in order to write presto output' % args.aligned_germline_fname)
if args.airr_output:
if not args.paired_loci and args.airr_output:
if args.outfname is None:
raise Exception('have to set --outfname if --airr-output is set')
if utils.getsuffix(args.outfname) == '.tsv':
Expand Down

0 comments on commit 625898d

Please sign in to comment.