-
Notifications
You must be signed in to change notification settings - Fork 27
Description
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.