ercius / openNCEM

A collection of packages and tools for electron microscopy data analysis supported by the National Center for Electron Microscopy facility of the Molecular Foundry
GNU General Public License v3.0
60 stars 28 forks source link

ser tab complete infinite loop #12

Closed ercius closed 4 years ago

ercius commented 6 years ago

If you use

from ncempy.io import ser

you can get an infinite loop in tab completion for ser.ncempy.io.ser.... image

I think the issue is the import ncempy.io.emd at the start of ser.py. This can be moved to the function which uses the emd class.

ercius commented 4 years ago

I was not able to recreate this issue recently. So, maybe it was an issue with your installation? If the problem persists there might be other workarounds. For example, I use import ncempy.io as nio now to conveniently access all i/o modules.