exp not found
Issue #36
resolved
Tests are failing for me on 1.3.2:
======================================================================
ERROR: test_conditioning (tests.peakutils_test.Baseline)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/PeakUtils-1.3.2/tests/peakutils_test.py", line 139, in test_conditioning
data = data = load('exp')
File "/build/PeakUtils-1.3.2/tests/peakutils_test.py", line 15, in load
return numpy.loadtxt(p)
File "/nix/store/sac6dvpw7kr2mk9s7v8mxm798sjx5h0z-python3.7-numpy-1.17.4/lib/python3.7/site-packages/numpy/lib/npyio.py", line 968, in loadtxt
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/nix/store/sac6dvpw7kr2mk9s7v8mxm798sjx5h0z-python3.7-numpy-1.17.4/lib/python3.7/site-packages/numpy/lib/_datasource.py", line 269, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/nix/store/sac6dvpw7kr2mk9s7v8mxm798sjx5h0z-python3.7-numpy-1.17.4/lib/python3.7/site-packages/numpy/lib/_datasource.py", line 623, in open
raise IOError("%s not found." % path)
OSError: /build/PeakUtils-1.3.2/tests/exp not found.
----------------------------------------------------------------------
Ran 24 tests in 0.082s
FAILED (errors=1)
The problematic line is https://bitbucket.org/lucashnegri/peakutils/src/f1f26011d5832b6caef7abe22e27ab1e82a1a0e6/tests/peakutils_test.py#lines-139, which looks a bit odd.
Comments (4)
-
-
repo owner Hi, Tyler.
The data = data = load('exp') was indeed a mistake, but it is inoffensive. It seems that the file ‘exp’ (that should have been located at the tests folder alongside
peakutils_test.py
) is missing. Could you check your files? Thanks. -
I am experiencing the same problem. The source package of 1.3.2 in PyPI does not contain
exp
. -
repo owner - changed status to resolved
Thanks! Fixed in 1.3.3.
- Log in to comment
Not sure why I’m “former user” haha, I’m tbenst.