Skip to content

Commit

Permalink
nrniv -python windows gui event loop not started (#817)
Browse files Browse the repository at this point in the history
For autotools build nrnversion(8) returns x86_64-w64-mingw but
cmake build returns AMD64-Windows.
  • Loading branch information
nrnhines committed Dec 10, 2020
1 parent 39c27cd commit a3a80ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/lib/python/neuron/gui.py
Expand Up @@ -79,7 +79,7 @@ def run(self) :
self.fun()
time.sleep(self.interval)

if h.nrnversion(9) == '2' or h.nrnversion(8).find('mingw') > 0:
if h.nrnversion(9) == '2' or h.nrnversion(8).find('mingw') > 0 or h.nrnversion(8).find('Windows'):
timer = LoopTimer(0.1, process_events)
timer.start()
while not timer.started:
Expand Down

0 comments on commit a3a80ae

Please sign in to comment.