<div dir="ltr">Hi Fatima,<div><br></div><div><div>Thanks for your inquiry. I am CCing the ome-users mailing list in my reply, since that is the best place to get support for Bio-Formats.</div><div><br></div></div><div><div>

> When I run the macro, it DOES NOT work for OIB images in the SAME</div><div>> directory. For example, look at the following information from the log</div><div>> window. It gives the same information for Image0001 and Image0002</div>

<div>> since they exist in a common directory. Note that the FOCAL PLANE</div><div>> COUNT is the same (which is incorrect).</div></div><div><br></div><div>The problem is very likely that Bio-Formats is trying to group your files into a single dataset, since they have very similar names (which differ only in numbering). There are multiple ways to avoid the issue:<br>

</div><div style><br></div><div style>1) The Bio-Formats macro extensions (functions starting with "Ext") are intended to be a high-level convenience, and as such use the file stitching logic by default, which is what performs the numerical grouping. You can try disabling the file stitcher by adding the following line to the start of the macro:</div>

<div style><br></div><div style>    Ext.setGroupFiles(false)</div><div><br></div><div style>2) Alternately, it is enough to rename the files so their names do not match a common template aside from numbers; e.g., "ImageA_AO_PI.oib" and "ImageB_AO_PI.oib" would likely work.</div>

<div style><br></div><div style>If you continue to have trouble, please use "Reply to All" for additional assistance.</div><div style><br></div><div style>Regards,</div><div style>Curtis</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 4:26 PM, Merchant, Fatima A <span dir="ltr"><<a href="mailto:fmerchan@central.uh.edu" target="_blank">fmerchan@central.uh.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Dear Curtis:<br>
<br>
Please may I request your assistance with the following macro that you wrote for Bio_Formats (attached)<br>
<br>
// basicMetadata.txt<br>
// Written by Curtis Rueden<br>
// Last updated on 2008 May 6<br>
// Uses Bio-Formats to print the chosen file's basic metadata to the Log.<br>
<br>
When I run the macro, it DOES NOT work for OIB images in the SAME directory.<br>
For example, look at the following information from the log window. It gives the same information for Image0001 and Image0002 since they exist in a common directory.<br>
Note that the FOCAL PLANE COUNT is the same (which is incorrect).<br>
<br>
/Users/merchant/Islet_Apoptosis/Images/Image0001_AO_PI.oib<br>
Series #0: image resolution is 512 x 512<br>
Focal plane count = 23<br>
Channel count = 3<br>
Time point count = 2<br>
/Users/merchant/Islet_Apoptosis/Images/Image0002_AO_PI.oib<br>
Series #0: image resolution is 512 x 512<br>
Focal plane count = 23<br>
Channel count = 3<br>
Time point count = 2<br>
<br>
However if I move one of the images to a DIFFERENT directory, the macro works accurately.<br>
Note that the FOCAL PLANE COUNT is the CORRECT, but I had to move one of the images to a different directory.<br>
<br>
/Users/merchant/Islet_Apoptosis/Images/Image0001_AO_PI.oib<br>
Series #0: image resolution is 512 x 512<br>
Focal plane count = 23<br>
Channel count = 3<br>
Time point count = 1<br>
/Users/merchant/Islet_Apoptosis/Image0002_AO_PI.oib<br>
Series #0: image resolution is 512 x 512<br>
Focal plane count = 19<br>
Channel count = 3<br>
Time point count = 1<br>
<br>
Please can you comment on if this can be fixed so that I can accurately read the information from multiple images in the same directory.<br>
<br>
Any and all help is very greatly appreciated.<br>
<br>
Thanks,<br>
Fatima<br>
<br>
<><><><><><><><><><><><><><><<><><><><><><><><><><><><br>
<br>
Fatima Merchant, Ph.D.<br>
Assistant Professor<br>
Dept. of Engineering Technology<br>
Biotechnology Program<br>
College of Technology, T2 394<br>
University of Houston<br>
Mail: TECH II 4020<br>
4800 Calhoun Road<br>
Houston, TX 77204<br>
Tel: 713-743-8292<br>
Fax: 713-743-4032<br>
Email: <a href="mailto:fmerchant@uh.edu">fmerchant@uh.edu</a><br>
</blockquote></div><br></div>