##// END OF EJS Templates
Data directories are sorted before reading files
Miguel Valdez -
r726:a766e7f85e72
parent child
Show More
@@ -1084,6 +1084,11 class JRODataReader(JRODataIO):
1084 1084
1085 1085 fileList = glob.glob1(single_path, "*"+ext)
1086 1086
1087 if not fileList:
1088 continue
1089
1090 fileList.sort()
1091
1087 1092 for thisFile in fileList:
1088 1093
1089 1094 if not os.path.isfile(os.path.join(single_path, thisFile)):
@@ -1127,6 +1132,8 class JRODataReader(JRODataIO):
1127 1132 if not dirList:
1128 1133 continue
1129 1134
1135 dirList.sort()
1136
1130 1137 for thisDir in dirList:
1131 1138
1132 1139 datapath = os.path.join(single_path, thisDir, expLabel)
General Comments 0
You need to be logged in to leave comments. Login now