Login  Register

Re: open files error

Posted by vivace219 on Jun 10, 2009; 1:31pm
URL: http://imagej.273.s1.nabble.com/open-files-error-tp3692197p3692199.html

Hi Thanks. Actually I just changed the file name to get rid of the space in "MicroCT Images." However, does anyone know if you make comments in the image j macros editing interface? I'd like to have some of the print statements I wrote to continue to exist but just be commented out so they won't run unless I decide to un-comment them and run them. Thanks.
Johannes Schindelin wrote
Hi,

On Thu, 4 Jun 2009, vivace219 wrote:

> Hi. I'm currently trying to write a macros script for Image J that would
> read the .rawl files for each folder. The code is below.
>
> file1head = "K:\\MicroCT Images\\5-25-09\\C00";

I think the space is the culprit.  You need to enclose filename in
brackets just like you did it with the type parameter:

> file1tail = ".0000.rawl image=[16-bit Signed] width=512 height=512 offset=0

Hth,
Dscho