| 115 |
|
|
| 116 |
|
|
| 117 |
|
## run test to see if there are images missing from LFP |
| 118 |
+ |
contents = open(os.path.join(outputDirectory,volumeName+".LFP")).readlines() |
| 119 |
+ |
errLog = open(os.path.join(outputDirectory,volumeName+".ERR"),'w') |
| 120 |
+ |
testImageList = [] |
| 121 |
+ |
for line in contents: |
| 122 |
+ |
line = line.replace("\n","") |
| 123 |
+ |
line = line.split(",") |
| 124 |
+ |
testImageList.append(line[1]) |
| 125 |
+ |
for bates in imageList: |
| 126 |
+ |
if bates in testImageList: |
| 127 |
+ |
pass |
| 128 |
+ |
else: |
| 129 |
+ |
errLog.write("%s not accounted for.\n"% bates) |
| 130 |
+ |
|
| 131 |
+ |
errLog.close() |
| 132 |
|
|