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
8fd094bd
Commit
8fd094bd
authored
9 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
List of time series was being corrupted when multiple FEATTimeSeries
were being plotted.
parent
2a89c890
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fsl/fsleyes/views/plotpanel.py
+2
-0
2 additions, 0 deletions
fsl/fsleyes/views/plotpanel.py
fsl/fsleyes/views/timeseriespanel.py
+8
-3
8 additions, 3 deletions
fsl/fsleyes/views/timeseriespanel.py
with
10 additions
and
3 deletions
fsl/fsleyes/views/plotpanel.py
+
2
−
0
View file @
8fd094bd
...
@@ -947,6 +947,8 @@ class OverlayPlotPanel(PlotPanel):
...
@@ -947,6 +947,8 @@ class OverlayPlotPanel(PlotPanel):
for
ovl
in
self
.
_overlayList
:
for
ovl
in
self
.
_overlayList
:
if
ovl
in
self
.
__dataSeries
:
if
ovl
in
self
.
__dataSeries
:
continue
continue
log
.
debug
(
'
Creating a DataSeries for overlay {}
'
.
format
(
ovl
))
ds
,
refreshTargets
,
refreshProps
=
self
.
createDataSeries
(
ovl
)
ds
,
refreshTargets
,
refreshProps
=
self
.
createDataSeries
(
ovl
)
...
...
This diff is collapsed.
Click to expand it.
fsl/fsleyes/views/timeseriespanel.py
+
8
−
3
View file @
8fd094bd
...
@@ -205,10 +205,15 @@ class TimeSeriesPanel(plotpanel.OverlayPlotPanel):
...
@@ -205,10 +205,15 @@ class TimeSeriesPanel(plotpanel.OverlayPlotPanel):
tss
=
[
self
.
getDataSeries
(
o
)
for
o
in
overlays
]
tss
=
[
self
.
getDataSeries
(
o
)
for
o
in
overlays
]
tss
=
[
ts
for
ts
in
tss
if
ts
is
not
None
]
tss
=
[
ts
for
ts
in
tss
if
ts
is
not
None
]
for
i
,
ts
in
enumerate
(
list
(
tss
)):
# Include all of the extra model series
# for all FEATTimeSeries instances
newTss
=
[]
for
ts
in
tss
:
if
isinstance
(
ts
,
plotting
.
FEATTimeSeries
):
if
isinstance
(
ts
,
plotting
.
FEATTimeSeries
):
tss
.
pop
(
i
)
newTss
+=
ts
.
getModelTimeSeries
()
tss
=
tss
[:
i
]
+
ts
.
getModelTimeSeries
()
+
tss
[
i
:]
else
:
newTss
.
append
(
ts
)
tss
=
newTss
for
ts
in
tss
:
for
ts
in
tss
:
...
...
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