Hi Ed
wellcome back, I hope the search for jobs and fame was fruitful
I have been trying to get the current unit tests to work from the
command line e.g. ' ./unit_test_runner.py maths_fns/test_chi2.py'.
However, most of them fail beacuase the global variable Debug is not
defined. Chris tells me that this is because debug has been added to the
python __builtins__ namespace. This points to a couple of questions
1. why are we playing with __builtins__?
2. how do we get round this
as an aside __builtins__ is 'an implementation detail'
http://docs.python.org/lib/module-builtin.html and its use will prevent
relax from working on iron python, jython and pypy. So is this use of
__builtins__ something we need to reconsider...
regards
gary
--
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
email: garyt@xxxxxxxxxxxxxxx Fax +44-113-2331407
-------------------------------------------------------------------