Skip to content

Commit

Permalink
Enable compressed sequence index output
Browse files Browse the repository at this point in the history
  • Loading branch information
huddlej committed Mar 10, 2021
1 parent fc46b4f commit 57ad120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions augur/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import sys
import csv

from .io import read_sequences
from .io import open_file, read_sequences


def register_arguments(parser):
Expand Down Expand Up @@ -140,7 +140,7 @@ def index_sequences(sequences_path, sequence_index_path):
tot_length = 0
num_of_seqs = 0

with open(sequence_index_path, 'wt') as out_file:
with open_file(sequence_index_path, 'wt') as out_file:
tsv_writer = csv.writer(out_file, delimiter = '\t')

#write header i output file
Expand Down

0 comments on commit 57ad120

Please sign in to comment.