stats is an array mapped to several files in a directory of metadata generated by mFitplane.  I need to pass all these files and another metadata file to mConcatFit which is the app after this foreach loop.  I need to wait for the foreach loop to be complete before mConcatFit can run.<br>
<br><div class="gmail_quote">On Sun, Mar 27, 2011 at 7:41 PM, Mihael Hategan <span dir="ltr"><<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
You have:<br>
<div class="im">foreach img, i in stats<br>
    {<br>
        stats[ i ] = mFitplane ( diff_imgs[i] );<br>
    }<br>
<br>
</div>What is it that you are trying to do there?<br>
<font color="#888888"><br>
Mihael<br>
</font><div><div></div><div class="h5"><br>
On Sun, 2011-03-27 at 15:54 -0500, Jonathan Monette wrote:<br>
> here is my entire script<br>
><br>
> On Sun, Mar 27, 2011 at 3:45 PM, Mihael Hategan <<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>><br>
> wrote:<br>
>         On Wed, 2011-03-23 at 16:31 -0500, Jonathan Monette wrote:<br>
><br>
>         > How can the array be closed but all of its values not be?<br>
><br>
><br>
>         The array being closed simply means that its size is known,<br>
>         but not<br>
>         necessarily that its elements have all been computed.<br>
><br>
>         I'll look at the log, but I'd also like the entire script.<br>
><br>
>         Mihael<br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Any intelligent fool can make things bigger and more complex... It<br>
> takes a touch of genius - and a lot of courage to move in the opposite<br>
> direction.<br>
> - Albert Einstein<br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction.<br>- Albert Einstein<br>
<br><br>