Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michiel Cottaar
fslpy
Commits
adcce947
Commit
adcce947
authored
5 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Clarify comments about haveGui situation [skip ci]
parent
c06d00f1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl/utils/platform.py
+8
-4
8 additions, 4 deletions
fsl/utils/platform.py
with
8 additions
and
4 deletions
fsl/utils/platform.py
+
8
−
4
View file @
adcce947
...
...
@@ -176,19 +176,23 @@ class Platform(notifier.Notifier):
# to check that the wx main loop
# was running. But this doesn't
# suit situations where a non-main
# event loop is running (e.g. when
# event loop is running, or where
# the mainloop is periodically
# started and stopped (e.g. when
# the event loop is being run by
# IPython).
#
# In c++ wx, there is the
# wx.App.UsesEventLoop method, but
# this is not presently exposed to
# Python code.
# Python code (and wouldn't help
# to detect the loop start/stop
# scenario).
#
# So this constraint has been
# (hopefully) temporarily relaxed
# until
UsesEventLoop can be called
#
from Pyth
on.
# until
I can think of a better
#
soluti
on.
return
(
self
.
canHaveGui
and
app
is
not
None
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment