Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: stderr not reported #526

Merged
merged 2 commits into from Jun 29, 2023
Merged

BUG: stderr not reported #526

merged 2 commits into from Jun 29, 2023

Conversation

wasade
Copy link
Contributor

@wasade wasade commented Jun 27, 2023

The stderr output from Mash was not being reported when an error occurred. The existing code was relying on proc.stderr however that buffer is drained during the tqdm_log for loop. This fix captures the stderr in a separate buffer, outputting its contents if an error happens.

@pchaumeil pchaumeil changed the base branch from master to staging June 29, 2023 23:04
@pchaumeil pchaumeil merged commit 95e4b08 into Ecogenomics:staging Jun 29, 2023
@pchaumeil
Copy link
Collaborator

Hi @wasade,
Thank you for your contribution, I will merge these changes to staging. They will appear in the next release of GTDB-Tk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants