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

running HNN GUI in ipython? #300

Open
jasmainak opened this issue Apr 3, 2021 · 0 comments
Open

running HNN GUI in ipython? #300

jasmainak opened this issue Apr 3, 2021 · 0 comments

Comments

@jasmainak
Copy link
Collaborator

I tried the following in ipython:

from hnn import HNNGUI                                                  
from PyQt5 import QtWidgets                                             

QtWidgets.QApplication(['hnn.py'])                                
HNNGUI() 

It opens the GUI but when I try to run a simulation, it completely hangs. I think this should ideally work. See for comparison:

from mne.gui import coregistration

coregistration()

The advantage of having it work in this environment is that you can leverage all the good things about ipython including breakpoints etc for debugging and maybe don't even need a separate simulation log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant