Skip to content

Commit

Permalink
Update align.py
Browse files Browse the repository at this point in the history
- Minor code fix


Former-commit-id: f4ec3eb
  • Loading branch information
edgardomortiz committed Aug 25, 2023
1 parent e1b37c1 commit 50da00c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions captus/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ def msa(
muscle_log_file = Path(fasta_out.parent, f"{fasta_out.stem}.muscle.log")
with open(muscle_log_file, "w") as muscle_log:
muscle_log.write(f"Captus' MUSCLE Command:\n {' '.join(muscle_cmd)}\n\n\n")
with open(muscle_log_file, "a") as muscle_log:
try:
subprocess.run(muscle_cmd, stdout=muscle_log, stderr=muscle_log,
timeout=timeout)
Expand Down

0 comments on commit 50da00c

Please sign in to comment.