scijava / script-editor

Script Editor and Interpreter for SciJava script languages
http://imagej.net/Script_Editor
BSD 2-Clause "Simplified" License
12 stars 11 forks source link

Process_Folder: enhance check for directory path #1

Closed imagejan closed 10 years ago

imagejan commented 10 years ago

Michael Schmid suggested on the ImageJ mailing list that it's better to use File.isDirectory(path) instead of endsWith(path, "/"). See http://imagej.1557.x6.nabble.com/Recursive-processing-of-a-directory-not-working-correctly-tp5007797p5007819.html

dscho commented 10 years ago

Thanks!

Please note that I am really busy working on switching Fiji to use the ImageJ2 script editor. In the process, these templates will move to imagej-legacy.