##// END OF EJS Templates
Bug fixed: Seleccion de directorio al leer en linea
Miguel Valdez -
r297:d38cd632ab05
parent child
Show More
@@ -214,18 +214,16 def checkForRealPath(path, year, doy, set, ext):
214 214 return fullfilename, filename
215 215
216 216 def isDoyFolder(folder):
217 print folder
218 217 try:
219 218 year = int(folder[1:5])
220 print year
221 219 except:
222 220 return 0
223 221
224 222 try:
225 223 doy = int(folder[5:8])
226 print doy
227 224 except:
228 225 return 0
226
229 227 return 1
230 228
231 229 class JRODataIO:
@@ -441,6 +439,8 class JRODataReader(JRODataIO, ProcessingUnit):
441 439 continue
442 440 if not isDoyFolder(thisPath):
443 441 continue
442
443 dirList.append(thisPath)
444 444
445 445 if not(dirList):
446 446 return None, None, None, None, None
General Comments 0
You need to be logged in to leave comments. Login now