Comments (2)
On bb5, I can repro:
____________________________________________________________________________________________________________________________________________________________________ test_minimize_more17 ____________________________________________________________________________________________________________________________________________________________________
@pytest.mark.skipif(version.parse(scipy.__version__) < version.parse('1.7'),
reason="requires scipy >= 1.7")
def test_minimize_more17():
params = 4, 45, -21, 0, 0, 61
result = _minimize(params, _get_points(), bin_width=10)
> assert_allclose(result,
[4.1510e+00, 4.6763e+01, -2.0966e+01, -2.7207e-04, -4.5070e-04, 6.8804e+01],
rtol=1e-4)
tests/cut-plane/test_detection.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (<function assert_allclose.<locals>.compare at 0x7fffdcbac280>, array([ 4.09910404e+00, 4.67742676e+01, -2.06672325e+...3e-04, 6.88124012e+01]), array([ 4.1510e+00, 4.6763e+01, -2.0966e+01, -2.7207e-04, -4.5070e-04,
6.8804e+01]))
kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=0.0001, atol=0', 'verbose': True}
@wraps(func)
def inner(*args, **kwds):
with self._recreate_cm():
> return func(*args, **kwds)
E AssertionError:
E Not equal to tolerance rtol=0.0001, atol=0
E
E Mismatched elements: 6 / 6 (100%)
E Max absolute difference: 0.29876749
E Max relative difference: 0.40725429
E x: array([ 4.099104e+00, 4.677427e+01, -2.066723e+01, -2.980689e-04,
E -2.671505e-04, 6.881240e+01])
E y: array([ 4.1510e+00, 4.6763e+01, -2.0966e+01, -2.7207e-04, -4.5070e-04,
E 6.8804e+01])
../../../../../ssd/apps/bsd/2022-01-10/stage_externals/install_gcc-11.2.0-skylake/python-3.9.7-yj5alh/lib/python3.9/contextlib.py:79: AssertionError
Architecture is:
processor : 71
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz
from neuror.
This was worked around, for the time being, with:
#116
from neuror.
Related Issues (16)
- Incorrect type hint for axons HOT 3
- Sanitize slighly missleading message
- option to bypass soma check in sanitize HOT 1
- update readme/doc for sanitize HOT 1
- update tests to ensure ordered morphs
- Improve repair by using pool of dendrites (as for axons)
- add z-range to error detection HOT 1
- 2 small issues in sanitize
- Segfault in fix_zero_diameters because of stack limit HOT 6
- axon from dendrite discussion HOT 1
- Sanitize deletes all children sections when parent section length is zero HOT 33
- nptyping==2 breaks NeuroR
- Unraveling breaks up sections HOT 4
- Sanitize deletes all children sections when parent section (non-soma) is zero HOT 1
- Raise an Error if 0-length section is found at the soma HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neuror.