mengyao / Complete-Striped-Smith-Waterman-Library

294 stars 112 forks source link

error in the code #47

Closed lfaino closed 2 years ago

lfaino commented 7 years ago

Dear Mengyao, I found an error in the code. the same option is not working. In the code you have: `

print results

        if not args.bSam:
            print 'target_name: {}\nquery_name: {}\noptimal_alignment_score: {}\t'.format(sRId, sQId, `

but with the option bSam you store the args like "true"

therefore should be: `

print results

        if args.bSam:
            print 'target_name: {}\nquery_name: {}\noptimal_alignment_score: {}\t'.format(sRId, sQId, resPrint[0]),

if it is true, go in.

Cheers Luigi