Re: replace substring of filename with string
Posted by
OwenGwydion on
Feb 25, 2018; 9:51am
URL: http://imagej.273.s1.nabble.com/replace-substring-of-filename-with-string-tp5020154p5020156.html
Hi Mike,
Thanks for your response! I think I understand now. So my real problem then
is that the second part of the file name (after the "_s01") changes and is
unique to each file. I'm able to do the manual method for grid/collection
stitching if I remove the unique string at the end of each file, but Ideally
I'd like to find a way around this.
I need to specify a variable filename in the plugin call eg:
run("Grid/Collection stitching"......file_names = [&genericFileName]
Can you specify a variable within another variable?
I would like to make the secondPartOfFilename a variable within the
&genericFileName variable? Don't know if that makes sense or is even the
best way around this.
Cheers,
Owen
////////////////////////
--
Sent from:
http://imagej.1557.x6.nabble.com/--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html