Skip to content

Commit

Permalink
fixed single vs paired for quant
Browse files Browse the repository at this point in the history
  • Loading branch information
tpereachamblee committed Feb 22, 2022
1 parent 4828a47 commit a2036a2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/quant.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,7 @@ def arg_check_files(parser, arg):

args = parser.parse_args()

paired = False
if len(args.file) == 0:
sys.exit('[genotype] Error: FASTQ required')
elif len(args.file) == 2:
paired = True
paired = not args.single

if args.sample == None:
sample = os.path.basename(args.file[0]).split('.')[0]
Expand Down

0 comments on commit a2036a2

Please sign in to comment.