Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bioimage Analysis
Active Contour
Commits
bf80f720
Commit
bf80f720
authored
Jan 29, 2020
by
Daniel Felipe GONZALEZ OBANDO
Browse files
Added NPE on saveToXLS
parent
073cce11
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/adufour/activecontours/DeformationProfiler.java
View file @
bf80f720
...
...
@@ -83,7 +83,7 @@ public class DeformationProfiler extends PluginTrackManagerProcessor implements
}
}
private
JComboBox
jComboDescriptors
=
new
JComboBox
(
Descriptors
.
values
());
private
JComboBox
<
Descriptors
>
jComboDescriptors
=
new
JComboBox
<
Descriptors
>
(
Descriptors
.
values
());
private
JButton
jButtonSaveToVTK
=
new
JButton
(
"Export meshes to VTK files"
);
...
...
@@ -482,9 +482,6 @@ public class DeformationProfiler extends PluginTrackManagerProcessor implements
XLSUtil
.
setCellString
(
sheet
,
0
,
0
,
"Track \\ Time"
);
// time labels
for
(
int
t
=
0
;
t
<
trackPool
.
getDisplaySequence
().
getSizeT
();
t
++)
XLSUtil
.
setCellNumber
(
sheet
,
t
+
1
,
0
,
t
*
tScale
);
final
Sequence
seq
=
trackPool
.
getDisplaySequence
();
final
int
sizeT
;
...
...
@@ -493,6 +490,12 @@ public class DeformationProfiler extends PluginTrackManagerProcessor implements
sizeT
=
trackPool
.
getLastDetectionTimePoint
();
else
sizeT
=
seq
.
getSizeT
();
// time labels
for
(
int
t
=
0
;
t
<
sizeT
;
t
++)
XLSUtil
.
setCellNumber
(
sheet
,
t
+
1
,
0
,
t
*
tScale
);
// time labels
for
(
int
t
=
0
;
t
<
sizeT
;
t
++)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment