hnn icon indicating copy to clipboard operation
hnn copied to clipboard

running HNN GUI in ipython?

Open jasmainak opened this issue 4 years ago • 0 comments
trafficstars

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.

jasmainak avatar Apr 03 '21 14:04 jasmainak