Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show_ophyd_symbols() needs to see ipython shell's namespace #205

Closed
prjemian opened this issue Jul 29, 2019 · 1 comment
Closed

show_ophyd_symbols() needs to see ipython shell's namespace #205

prjemian opened this issue Jul 29, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@prjemian
Copy link
Contributor

The show_ophyd_symbols() function should be able to see the globals from the ipython shell. It can't when it tries using the global command, nor when it calls globals(). Need to be a bit craftier than that. A workaround has been implemented but it is ugly. Make it nicer.

@prjemian prjemian added the bug label Jul 29, 2019
@prjemian prjemian self-assigned this Jul 29, 2019
@prjemian
Copy link
Contributor Author

This will get the shell's namespace: for k, obj in get_ipython().user_ns: ...

@prjemian prjemian added this to the 1.1.10 milestone Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant