Re: File Import bug?
Posted by
Michael Schmid on
Jun 22, 2016; 5:28pm
URL: http://imagej.273.s1.nabble.com/File-Import-bug-tp5016712p5016713.html
Hi Michael,
The File>Import>Image Sequence dialog says below the "File name
contains" window:
"enclose egexp in parens"
This means that if you type something enclosed by paretheses, it is
treated as regular expression.
In your case, you could enter "(P1)_". This does not end with
parentheses but an underscore, it will be interpreted as plain text.
Alternatively, create a regexp that fits your file names, and enclose it
in parentheses. I guess that the following might work:
(.*\(P1\).*)
Michael
________________________________________________________________
On 2016-06-22 18:15, Cammer, Michael wrote:
> We have files from multiple stage positions, each timepoint saved as a separate file. For instance:
> tlpscontrol_S0000(P1)_T000000.tif
> tlpscontrol_S0000(P1)_T000001.tif
> tlpscontrol_S0000(P1)_T000002.tif
>
> When we use File > Import > Image Sequence and enter for File name contains: "(P1)" the parentheses appear to be ignored because all files with "P1" in the name, including "P10", "P11", etc. are opened into the sequence too.
>
> Regards,
> Michael
>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html