Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
melview
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Marcel Koek
melview
Commits
f3977763
Commit
f3977763
authored
12 years ago
by
Dave Flitney
Browse files
Options
Downloads
Patches
Plain Diff
A light greeen indicator when Signal has been indicated
parent
96ac7807
No related branches found
Tags
fsl-5_0_8
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
melview.ini
+0
-4
0 additions, 4 deletions
melview.ini
melview/melodic_traits.py
+5
-3
5 additions, 3 deletions
melview/melodic_traits.py
with
5 additions
and
7 deletions
melview.ini
deleted
100644 → 0
+
0
−
4
View file @
96ac7807
path
=
/vols/Data/steve/FIX/HCP_hp100/CP10051_v3.ica/filtered_func_data.ica
bgpath
=
/vols/Data/steve/FIX/HCP_hp100/CP10051_v3.ica/filtered_func_data.ica/mean.nii.gz
This diff is collapsed.
Click to expand it.
melview/melodic_traits.py
+
5
−
3
View file @
f3977763
...
...
@@ -38,7 +38,8 @@ from fsl.melodic import *
# To be able to use PySide or PyQt4 and not run in conflicts with traits,
# we need to import QtGui and QtCore from pyface.qt
#from pyface.qt import QtGui, QtCore
#from pyface.api import FileDialog, OK, confirm, error, YES
from
pyface.api
import
FileDialog
,
OK
,
confirm
,
error
,
YES
#from PyQt4.QtGui import QWidget, QSizePolicy
...
...
@@ -199,7 +200,7 @@ from enthought.traits.ui.api import TabularEditor
class
ClassificationColumn
(
ObjectColumn
):
def
get_cell_color
(
self
,
object
):
return
[
'
light blue
'
,
'
yellow
'
][
object
.
class_name
in
[
'
Signal
'
]]
return
[
'
light blue
'
,
'
light green
'
][
object
.
class_name
in
[
'
Signal
'
]]
#class CheckboxColumn(ObjectColumn):
#
...
...
@@ -653,7 +654,7 @@ class MelodicWindow(HasTraits):
self
.
colorbar
.
update_normal
(
d
)
if
self
.
ic_selected
.
class_name
in
'
Signal
'
:
self
.
image_axes
.
set_title
(
'
Signal!
'
,
bbox
=
{
'
color
'
:
'
green
'
,
'
pad
'
:
2
,
'
width
'
:
400
})
self
.
image_axes
.
set_title
(
self
.
ic_selected
.
class_name
,
bbox
=
{
'
color
'
:
'
light
green
'
})
else
:
self
.
image_axes
.
set_title
(
self
.
ic_selected
.
class_name
)
...
...
@@ -697,6 +698,7 @@ class MelodicWindow(HasTraits):
@on_trait_change
(
'
class_list
'
)
def
classListChanged
(
self
):
# print "Ding!"
self
.
display
()
pass
@on_trait_change
(
'
show_stats,ignore_blank_slices
'
)
...
...
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