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

Help find problematic file with error 'Failed to seek to offset' #124

Open
richelbilderbeek opened this issue Aug 2, 2024 · 0 comments
Open

Comments

@richelbilderbeek
Copy link

richelbilderbeek commented Aug 2, 2024

Dear VarTrix maintainers,

I try to help out a user that has the error Failed to seek to offset when running VarTrix, I am happy VarTrix nicely reports the error, yet I feel it could be even better, by mentioning in which file this error occurs, for example: Failed to seek to offset in file '[filename]'.

The error is produced by htslib in files here and here. Those functions -as far as I understand- do not know what is the name of the file.

Luckily, VarTrix can do better!

My suggestion is that when htslib is called to read a file, that the VarTrix error message adds the filename to the error message.

In that way, VarTrix users can easier diagnose their errors.

I volunteer to add this by a Pull Request if this suggestion is accepted and when requested to do so 👍

For the full error details (if needed), see the user support ticket at https://github.com/UPPMAX/ticket_296259.

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

No branches or pull requests

1 participant