W

wendelin.core

Out-of-core NumPy arrays

  • Kirill Smelkov's avatar
    demo_zbigarray: Fix it for Python3 · 61dc1ff2
    Kirill Smelkov authored
    Wendelin.core already supports Python3 relatively well, but demo_zbigarray.py,
    that is invoked only manually, was missing compatibility bits for xrange:
    
        (neo) (py3.venv) (g.env) kirr@deca:~/src/neo/src/lab.nexedi.com/nexedi/wendelin.core$ ./demo/demo_zbigarray.py gen 1.fs
        I: RAM:  15.29GB
        I: WORK: 30.57GB
        gen signal t=0...4.10e+09  float64  (= 30.57GB)
        Traceback (most recent call last):
          File "/home/kirr/src/wendelin/wendelin.core/./demo/demo_zbigarray.py", line 154, in <module>
            main()
          File "/home/kirr/src/wendelin/venv/py3.venv/lib/python3.9/site-packages/decorator.py", line 232, in fun
            return caller(func, *(extras + args), **kw)
          File "/home/kirr/src/tools/go/pygolang/golang/__init__.py", line 103, in _
            return f(*argv, **kw)
          File "/home/kirr/src/wendelin/wendelin.core/./demo/demo_zbigarray.py", line 142, in main
            gen(sig)
          File "/home/kirr/src/wendelin/wendelin.core/./demo/demo_zbigarray.py", line 74, in gen
            for t0 in xrange(0, len(a), blocksize):
        NameError: name 'xrange' is not defined
    
    -> Fix it.
    61dc1ff2
Name
Last commit
Last update
3rdparty Loading commit data...
bigarray Loading commit data...
bigfile Loading commit data...
demo Loading commit data...
include/wendelin Loading commit data...
lib Loading commit data...
t Loading commit data...
wcfs Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nxdtest Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
README.rst Loading commit data...
conftest.py Loading commit data...
pyproject.toml Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
wendelin.py Loading commit data...