Skip to content

Commit

Permalink
MAINT: updates for python 3.10 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
lizgehret authored Sep 18, 2024
1 parent 333b4cf commit 475bfd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion q2_vsearch/_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ def _get_stats_easy(cmds_packed) -> None:
with fileinput.input(files=filelist, mode='r',
openhook=fileinput.hook_compressed) as fh:
for line in fh:
encoded_line = line.encode('utf-8')
for p in processes:
p.stdin.write(line)
p.stdin.write(encoded_line)

for p in processes:
p.stdin.close()
Expand Down

0 comments on commit 475bfd2

Please sign in to comment.