Skip to content

Commit 022fcd3

Browse files
committed
fixup! 🚧 Use tsv-utils for --output-metadata
1 parent 1334c3c commit 022fcd3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

augur/filter/io.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ def write_metadata(input_metadata_path: str, delimiters: Sequence[str],
123123
tsv_join = which("tsv-join")
124124
cat = get_cat(input_metadata_path)
125125

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

0 commit comments

Comments
 (0)