Closed danielballan closed 3 years ago
This PR is not a complete solution, but it gets pretty close.
Remaining uses of get_ipython():
get_ipython()
$ git grep -e "get_ipython()\." BMM/functions.py:get_ipython().magic(u"%xmode Plain") BMM/prompt.py:get_ipython().display_formatter.formatters['text/plain'].for_type(types.GeneratorType, lambda x, y, z: print(f'{x} Hint: enclose that command in RE()')) BMM/user.py: startup_dir = get_ipython().profile_dir.startup_dir BMM/xspress3.py: # startup_dir = get_ipython().profile_dir.startup_dir BMM/xspress3.py: startup_dir = get_ipython().profile_dir.startup_dir BMM/xspress3_1element.py: startup_dir = get_ipython().profile_dir.startup_dir BMM/xspress3_4element.py: startup_dir = get_ipython().profile_dir.startup_dir save/05-functions.save:get_ipython().magic(u"%xmode Plain") save/94-prompt.save:get_ipython().display_formatter.formatters['text/plain'].for_type(types.GeneratorType, lambda x, y, z: print(f'{x} Hint: enclose that command in RE()'))
These changes have been tested with bsui and qserver. Making this the new master branch.
This PR is not a complete solution, but it gets pretty close.
Remaining uses of
get_ipython()
: