Comment 2 for bug 1821803

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

boost1.67-1.67.0-7ubuntu0.1 built in cosmic-proposed:
https://launchpad.net/ubuntu/+source/boost1.67/1.67.0-7ubuntu0.1

There is a dep8 failure in mothur/i386, though. I have retried a few times but it won't go away. It's very weird actually:

mothur > cluster(method=furthest, column=HA.unique.dist, name=HA.names, cutoff=0.01, precision=1000)
The precision parameter can only take powers of 10 as a value (e.g. 10,1000,1000, etc.)

As can be seen, precision was given a value of "1000", which is correct. Maybe a math rounding error of some sort is happening? Can't imagine what would be different in the launchpad tester. This is the code:

if(parameter.compare("precision") == 0) {
        double logNum = log10((double)pVal);
        double diff = (double)((int)logNum - logNum);
        if(diff != 0) {
                m->mothurOut("The precision parameter can only take powers of 10 as a value (e.g. 10,1000,1000, etc.)\n");
                return false;
        }
}

I ran the test suite locally on a cosmic/i386 VM, with and without proposed packages installed, and it passes every time. I could try bileto, see if it fails there, and if it does, add some extra debugging information, but that will take a while.