Skip to content

Comments

Record makeblastdb errors for debugging purposes#683

Merged
yannickwurm merged 2 commits intowurmlab:masterfrom
tadast:tt/makeblastdb-error
Sep 29, 2023
Merged

Record makeblastdb errors for debugging purposes#683
yannickwurm merged 2 commits intowurmlab:masterfrom
tadast:tt/makeblastdb-error

Conversation

@tadast
Copy link
Collaborator

@tadast tadast commented Sep 28, 2023

Formatting databases seems to be happening in a forked process, so printing the stderr does not have the desired effect to aid the debugging. The shell out utility already has a way to store stderr as a separate file, so save it next to the database or the database directory that is being formatted when the error occurrs.

@ghost
Copy link

ghost commented Sep 28, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@tadast tadast force-pushed the tt/makeblastdb-error branch from 7f911d8 to 98cdecd Compare September 28, 2023 10:06
formatting databases seems to be happening in a forked process,
so printing the stderr does not seem to have the desired effect
to aid the debugging. The shellou utility already has a way to
store stderr as a separate file, so save it next to the dababase or
database directory that was being formatted when the error occured.
@tadast tadast force-pushed the tt/makeblastdb-error branch from 98cdecd to 10ecaad Compare September 29, 2023 09:23
@yannickwurm yannickwurm merged commit a9a128b into wurmlab:master Sep 29, 2023
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.

2 participants