Skip to content
GitLab
Menu
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
32850b5e
Commit
32850b5e
authored
Jan 29, 2020
by
Daniel Felipe GONZALEZ OBANDO
Browse files
Fixing Null pointer exceptions
- on computeDimension - when exporting to XLS
parent
15f04320
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
src/plugins/adufour/activecontours/ActiveContours.java
View file @
32850b5e
...
...
@@ -1514,7 +1514,7 @@ public class ActiveContours extends EzPlug implements EzStoppable, Block
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
.
getCause
()
);
throw
new
RuntimeException
(
e
);
}
if
(
coupling_flag
.
getValue
())
...
...
@@ -1591,7 +1591,7 @@ public class ActiveContours extends EzPlug implements EzStoppable, Block
}
catch
(
ExecutionException
e
)
{
e
.
getCause
().
printStackTrace
();
e
.
printStackTrace
();
throw
new
RuntimeException
(
e
);
}
catch
(
RuntimeException
e
)
...
...
@@ -1640,7 +1640,7 @@ public class ActiveContours extends EzPlug implements EzStoppable, Block
}
catch
(
Exception
e
)
{
e
.
getCause
().
printStackTrace
();
e
.
printStackTrace
();
throw
new
RuntimeException
(
e
);
}
}
...
...
@@ -1675,7 +1675,7 @@ public class ActiveContours extends EzPlug implements EzStoppable, Block
}
catch
(
Exception
e
)
{
e
.
getCause
().
printStackTrace
();
e
.
printStackTrace
();
throw
new
RuntimeException
(
e
);
}
}
...
...
@@ -1726,8 +1726,6 @@ public class ActiveContours extends EzPlug implements EzStoppable, Block
if
(
isHeadLess
())
System
.
out
.
println
(
"=> Storing result..."
);
boolean
noResultsOnCurrentFrame
=
true
;
List
<
TrackSegment
>
segments
=
trackGroup
.
getValue
().
getTrackSegmentList
();
// Append the current list to the existing one
List
<
ROI
>
rois
=
new
ArrayList
<
ROI
>(
Arrays
.
asList
(
roiOutput
.
getValue
()));
...
...
@@ -1740,8 +1738,6 @@ public class ActiveContours extends EzPlug implements EzStoppable, Block
if
(
contour
==
null
)
continue
;
noResultsOnCurrentFrame
=
false
;
// Update volume information
if
(!
volumes
.
containsKey
(
segment
))
volumes
.
put
(
segment
,
contour
.
getDimension
(
2
));
...
...
src/plugins/adufour/activecontours/DeformationProfiler.java
View file @
32850b5e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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