Skip to content

Commit

Permalink
fixup! 🚧 Use tsv-utils for --output-metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Jul 17, 2024
1 parent 1334c3c commit 022fcd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion augur/filter/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ def write_metadata(input_metadata_path: str, delimiters: Sequence[str],
tsv_join = which("tsv-join")
cat = get_cat(input_metadata_path)

# TODO: support compressed outputs when xopen supports them
# TODO: support compressed outputs when xopen supports them.
# Current error when replacing open() with xopen() and using .xz for output:
# 'PipedXzWriter' object has no attribute 'fileno'
# FIXME: create an issue in the xopen repo
if output_is_tsv and tsv_join and cat:
with NamedTemporaryFile(delete=False) as include_file:
Expand Down

0 comments on commit 022fcd3

Please sign in to comment.