@@ -420,7 +420,7 class JRODataReader(JRODataIO, ProcessingUnit): | |||
|
420 | 420 | for thisPath in os.listdir(path): |
|
421 | 421 | if os.path.isdir(os.path.join(path, thisPath)): |
|
422 | 422 | dirList.append(thisPath) |
|
423 | ||
|
423 | ||
|
424 | 424 | if not(dirList): |
|
425 | 425 | return None, None, None, None, None |
|
426 | 426 | |
@@ -431,12 +431,16 class JRODataReader(JRODataIO, ProcessingUnit): | |||
|
431 | 431 | |
|
432 | 432 | else: |
|
433 | 433 | fullpath = path |
|
434 | ||
|
435 | print "%d folder was found: " %(fullpath ) | |
|
434 | 436 | |
|
435 | 437 | filename = getlastFileFromPath(fullpath, ext) |
|
436 | 438 | |
|
437 | 439 | if not(filename): |
|
438 | 440 | return None, None, None, None, None |
|
439 | ||
|
441 | ||
|
442 | print "%s file was found" %(filename) | |
|
443 | ||
|
440 | 444 | if not(self.__verifyFile(os.path.join(fullpath, filename))): |
|
441 | 445 | return None, None, None, None, None |
|
442 | 446 | |
@@ -1849,7 +1853,7 class SpectraReader(JRODataReader): | |||
|
1849 | 1853 | |
|
1850 | 1854 | self.path = None |
|
1851 | 1855 | |
|
1852 |
self.delay = |
|
|
1856 | self.delay = 60 #seconds | |
|
1853 | 1857 | |
|
1854 | 1858 | self.nTries = 3 #quantity tries |
|
1855 | 1859 |
General Comments 0
You need to be logged in to leave comments.
Login now