Skip to content

Commit

Permalink
Fix double ">>" for fasta output #244
Browse files Browse the repository at this point in the history
  • Loading branch information
rafelafrance committed May 29, 2019
1 parent 00e67ed commit f6e07b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/assemblers/base.py
Expand Up @@ -260,7 +260,7 @@ def output_assembled_contig(output_file, contig):
seq = bio.reverse_complement(seq)
suffix = '_REV'

header = '>{}_{}_{} iteration={} contig_id={} score={}'.format(
header = '{}_{}_{} iteration={} contig_id={} score={}'.format(
contig['iteration'], contig['contig_id'], suffix,
contig['iteration'], contig['contig_id'], contig['bit_score'])

Expand Down
2 changes: 1 addition & 1 deletion lib/core_atram.py
Expand Up @@ -37,7 +37,7 @@ def assemble(args):
assembly_loop(args, assembler, blast_db, query)
except (TimeoutError, RuntimeError):
pass
except Exception as err: # pylint: disable=broad-except
except Exception as err:
log.error('Exception: {}'.format(err))
finally:
assembler.write_final_output(blast_db, query)
Expand Down

0 comments on commit f6e07b1

Please sign in to comment.