On 11 Mar 2015, at 14:24, Bob Harris <rshar...@bx.psu.edu> wrote:
> That's one seriously broken grammar that considers "1750M" to mean 1750000 
> but thinks "1.75G" means 1.


to which, on Mar 11, 2015, at 12:18 PM, John Marshall replied:

> You are not wrong.  Coincidentally we've been working on improving ways to 
> specify numbers in htslib for a while, and can probably take advantage of 
> that here.  Or just change this to -m FLOAT[SUFFIX], as people typing "G" 
> here are often expecting it to be a real number not just an integer, as we've 
> seen.

There are actually two issues, of which that was only one.

The other is that the program blissfully accepts input that doesn't meet the 
input criteria, assigns a deterministic yet useless value to the parameter, and 
continues to run merrily along without giving the user any hint that a mistake 
has been made.  Let alone any easy way to know what her mistake was.

In this user's case the mistake caused the program to fail in a way he/she 
noticed.  But how often is this type of failure unnoticed, giving the user 
erroneous results that end up in a manuscript?

Bob H


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to