Skip to content

Commit

Permalink
Fix potential output name collisions (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuchenb authored Sep 15, 2020
1 parent 427e627 commit 07c49bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OptiTypePipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def get_num_threads(configured_threads):
else:
extension = 'sam'

bam_paths = args.input if bam_input else [os.path.join(out_dir, ("%s_%i.%s" % (date, i+1, extension))) for i in range(len(args.input))]
bam_paths = args.input if bam_input else [os.path.join(out_dir, ("%s_%i.%s" % (prefix, i+1, extension))) for i in range(len(args.input))]

# SETUP variables and OUTPUT samples
ref_type = "nuc" if args.rna else "gen"
Expand Down

0 comments on commit 07c49bf

Please sign in to comment.