Hi Juan,
1. about optimising Cython code in skimage: how do I compile with -a? Because of local imports and so on, calling it on the source file directly is not an option, and I haven't figured out an obvious place to make it spit out the html otherwise…
cython -a does not depend on any imports. At least on my system it works for all files, regardless of imports… ?
2. about running tests: how do I easily figure out which tests were skipped when running "make test" and why they were skipped?
Since make test just invokes nosetests, you could simply use nosetests --no-skip.
On Mon, Aug 5, 2013 at 3:49 PM, Johannes Schönberger <jschoenberger@demuc.de
wrote:
cython -a does not depend on any imports. At least on my system it works for all files, regardless of imports… ?
Huh! I could have sworn that failed on my _slic.pyx before! Maybe an older Cython version? Anyway, worked fine, thanks! ;) Since make test just invokes nosetests, you could simply use nosetests
--no-skip.
Also worked! I wish all my problems were so easy! ;) Thanks for the help!
participants (2)
-
Johannes Schönberger
-
Juan Nunez-Iglesias