[Debichem-devel] Bug#1073455: Bug#1073455: openstructure: FTBFS: TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
Andrius Merkys
merkys at debian.org
Tue Jun 25 15:29:20 BST 2024
control: forwarded -1 openstructure-users at maillist.unibas.ch
On 2024-06-16 16:08, Lucas Nussbaum wrote:
> ======================================================================
> ERROR: testSpearmanCorrel (__main__.TestTable.testSpearmanCorrel)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/modules/base/tests/test_table.py", line 1668, in testSpearmanCorrel
> self.assertAlmostEqual(tab.SpearmanCorrel('second','third'), -0.316227766)
> File "/usr/lib/python3.11/unittest/case.py", line 904, in assertAlmostEqual
> diff = abs(first - second)
> ~~~~~~^~~~~~~~
> TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
This failure seems to have been caused by an API change in scipy. I have
reported the issue upstream. A simple fix would be to skip this test
entirely via a patch. In the meantime let us wait for upstream's response.
Andrius
More information about the Debichem-devel
mailing list