Skip to content

Commit e899842

Browse files
committed
add exception to clarify airr conversion behavior for simulation
1 parent 6b87a93 commit e899842

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/processargs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,9 @@ def process(args):
466466
print(' note: no %s specified, so nothing will be written to disk' % ('--paired-outdir' if args.paired_loci else '--outfname'))
467467
args.outfname = get_dummy_outfname(args.workdir) # hackey, but otherwise I have to rewrite the whole run_simulation() in bin/partis to handle None type outfname
468468

469+
if args.airr_output:
470+
raise Exception('--airr-output isn\'t implemented for \'simulate\', but you can instead convert to airr tsv afterwards with for instance \'parse-output simu.yaml simu.tsv --airr-output\' or \'parse-output --paired <paired-simu-dir> <paired-simu-dir> --airr-output\'')
471+
469472
if args.simulate_from_scratch:
470473
args.rearrange_from_scratch = True
471474
args.mutate_from_scratch = True

0 commit comments

Comments
 (0)