Closed crazyhottommy closed 6 years ago
good catch. I updated the code to fix this issue; can you give it a try and let me know if it works now?
Thanks for the fix. I will try. BTW, the python API does not have the sort function?
Python 2.7.12 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:42:40)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import PyGLtools as pygl
>>> help(pygl.merge)
>>> help(pygl.sort)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'sort'
The API does have a sort, but it is named pyglSort.
This is to avoid collision from someone doing
from PyGLtools import *
and then having two functions named "sort" in the same namespace, rather than the recommended
import PyGLtools as pygl
I have updated the readme to reflect this.
thanks!
Thanks, Tommy