ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Active_prgs/Evidox/LoadFilesMissing.py
(Generate patch)

Comparing Python/NinoCode/Active_prgs/Evidox/LoadFilesMissing.py (file contents):
Revision 674 by nino.borges, Thu Mar 26 14:29:40 2020 UTC vs.
Revision 675 by nino.borges, Thu Mar 26 14:37:00 2020 UTC

# Line 115 | Line 115 | if __name__ == '__main__':
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      

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)