bug in first column of array when column is empty?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

bug in first column of array when column is empty?

Cammer, Michael-3
I have run into what I think is a bug, but it's not always reproducible.


The problem is with a table.  We've been using a macro for over a month without any issue, but tonight, when the first column of a table is an array of zero length, sometimes the column gets filled with zeroes.  When I move the same code to a later column in the table, the column is empty.  More vexing, when I set the moved array to have a few elements but leave the new first column empty, the column is not filled with zeroes, hence my comment that this is not always reproducible.  I checked printing the length of the array, and the length is reported as zero.


I have put an illustration of the problem at

http://microscopynotes.com/temp/table_bug_report


It's not critical as a column filled with zeros can be ignored in the analysis because there never will be a zero in real data, but it is odd.


Best regards-


Michael Cammer, Sr Research Scientist, DART Microscopy Laboratory

NYU Langone Health, 540 First Avenue, SK2 Microscopy Suite, New York, NY  10016

[hidden email]<mailto:[hidden email]>  http://nyulmc.org/micros  http://microscopynotes.com/

Voice direct only, no text or messages:  1-914-309-3270 and 1-646-501-0567


------------------------------------------------------------
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
=================================

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html