
Hi,
While running the tests most seem to run fine except for those which rely on base.ioutils.py, e.g. running:
python run_tests.py --debug tests/test_homogenization_perfusion.py
fails with error:
AttributeError: 'module' object has no attribute 'openFile'
It seems the latest
http://www.pytables.org/MIGRATING_TO_3.x.html#major-api-changes pytables
release has started following PEP8 naming convention and function calls
such as openFile
should now be open_file
. Can anyone confirm this?
Niels

Yes, the docs at the page you linked suggest that. I wonder how to fix it in a way that would work for both naming conventions without too much hassle. Or should we just update to the new API? 3.0.0 was released already in 2013, so it seems reasonable.
Ideas welcome!
r.
On 10/10/2016 04:24 PM, Niels Looije wrote:
Hi,
While running the tests most seem to run fine except for those which rely on base.ioutils.py, e.g. running:
python run_tests.py --debug tests/test_homogenization_perfusion.py
fails with error:
AttributeError: 'module' object has no attribute 'openFile'
It seems the latest http://www.pytables.org/MIGRATING_TO_3.x.html#major-api-changes pytables release has started following PEP8 naming convention and function calls such as
openFile
should now beopen_file
. Can anyone confirm this?Niels

FYI: https://github.com/sfepy/sfepy/issues/342
Pull requests welcome :)
r.
On 10/10/2016 10:03 PM, Robert Cimrman wrote:
Yes, the docs at the page you linked suggest that. I wonder how to fix it in a way that would work for both naming conventions without too much hassle. Or should we just update to the new API? 3.0.0 was released already in 2013, so it seems reasonable.
Ideas welcome!
r.
On 10/10/2016 04:24 PM, Niels Looije wrote:
Hi,
While running the tests most seem to run fine except for those which rely on base.ioutils.py, e.g. running:
python run_tests.py --debug tests/test_homogenization_perfusion.py
fails with error:
AttributeError: 'module' object has no attribute 'openFile'
It seems the latest http://www.pytables.org/MIGRATING_TO_3.x.html#major-api-changes pytables release has started following PEP8 naming convention and function calls such as
openFile
should now beopen_file
. Can anyone confirm this?Niels
participants (2)
-
Niels Looije
-
Robert Cimrman