-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Floating point exception if fastq is empty #56
Comments
I am facing the same issues. It would be great if the program does not die and instead it should exit gracefully with exit code 0 - currently it exits with exit code 136 It would be great if this feature is implemented |
@tamuanand Can you confirm the version of Falco you are using? The most recent is 1.2.2. |
Yes - I am using 1.2.2 - installed via conda
|
Seems fixable, but I need to know how to reproduce the problem. Can you provide any additional info? |
Something like this
|
@tamuanand Thanks -- this helps. I'll see what I can do. |
Thanks @andrewdavidsmith
|
@tamuanand @nick-youngblut This particular error is masking some others that probably need to be resolved at the same time. If it were just the floating point issue, I could fix it right away, but once it gets past that point, others emerge. Thanks for your patience. |
@andrewdavidsmith - a suggestion
|
@tamuanand I will probably do something like that, because clearly empty input files can't be allowed. Some related issues have emerged. I think the best thing is for me to try and close this issue using your suggestion as soon as possible, and open another for the problems that emerged while looking into this. If you want to do the check yourself and make a PR, that's fine. Let me know asap because I might fix this later today. This is roughly what I would do:
and then where the check happens:
|
I would also like to see a more appropriate error message for this one :) |
When running falco in a sequencing processing pipeline, some fastq files can be empty. In such cases, falco (v.1.2.1) throws an error:
It would be helpful if falco just provided a warning if the fastq is empty. This could be an option (e.g.,
falco --just-warn
).The text was updated successfully, but these errors were encountered: