Skip to content

Commit c55b299

Browse files
authored
remove error handling for mapping output
1 parent bd764e4 commit c55b299

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

metaphlan/metaphlan.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,8 +2227,6 @@ def check_params(args):
22272227
error("The --subsampling_seed parameter is not accepted. It should contain an integer number or \"random\".", exit=True)
22282228
if args.inp and ',' in args.inp and not args.mapout:
22292229
error("--mapout needs to be specified when multiple FASTQ or FASTA files (comma separated) are provided", exit=True)
2230-
if not args.install and not args.mapout and not args.no_map:
2231-
error("Specify with --mapout where you want to save the intermediate mapping file or use --no_map not to save it", init_new_line = True, exit = True)
22322230
if args.mapout and os.path.exists(args.mapout) and not args.force and not args.profile_vsc:
22332231
error("Mapping output file detected: {}.\n Please use it as input or remove it if you want to re-perform the BowTie2 run".format(args.mapout), exit=True)
22342232
if args.input_type == 'sam' and not args.nreads and not args.long_reads:

0 commit comments

Comments
 (0)