Login  Register

Re: MTrack2 plugin bug fix

Posted by chris elliott on Nov 25, 2009; 11:41am
URL: http://imagej.273.s1.nabble.com/MTrack2-plugin-bug-fix-tp3690333p3690340.html

Thanks for this, but the URL you gave is not giving a full path for the
server address.

I come from a C background, so don't really know all the java
possibilites, but just want to ensure we avoid executing the

for (int iPart=0; iPart<sxRes.length; iPart++) {

loop if sxRes is null, so that the code should resume with the next iFrame

chris

Johannes Schindelin wrote:

> Hi Chris,
>
> On Wed, 25 Nov 2009, Johannes Schindelin wrote:
>
>> On Wed, 25 Nov 2009, chris elliott wrote:
>>
>>> If a sequence of images contains one with no particles, MTrack2
>>> returns early and does not write a results file, path plot or other
>>> data. The attached patch fixes it
>> Would it not be better to just replace the "return;" in
>>
>>                        if (sxRes==null)
>>                                 return;
>>
>> with a "continue;"?
>
> Just in case you agree, here is what I would commit to fiji.git:
>
> http://pacific/cgi-bin/gitweb.cgi?p=fiji.git;a=commitdiff;h=refs/heads/mtrack2-fix
>
> Ciao,
> Dscho
>