Login  Register

Re: Recursive processing of a directory not working correctly

Posted by Matthew Jacobs on May 22, 2014; 11:12pm
URL: http://imagej.273.s1.nabble.com/Recursive-processing-of-a-directory-not-working-correctly-tp5007797p5007867.html

Oops... just a heads up to anyone trying to use this code in the future. I tried applying the suggested:

if (File.isDirectory(path))

in place of the endswith / from my original code and it is not working. I clearly need to change that bit of code  somewhat to make it work.

If you replace that single line with the original from my first post, things should work (even if it is not elegant in any way haha).
Matthew Jacobs,
Research Assistant
Callaway Neuroscience Laboratory
The Salk Institute for Biological Studies