Changeset 93 for Xml/Validator/Backend/OmeValidator.py
- Timestamp:
- 09/19/07 13:52:48 (14 months ago)
- Files:
-
- 1 modified
-
Xml/Validator/Backend/OmeValidator.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Xml/Validator/Backend/OmeValidator.py
r92 r93 238 238 # create an IO string for the xml string provided 239 239 stringXml = StringIO(self.theDom.toxml()) 240 241 # 242 print self.theDom.toprettyxml() 243 240 244 # building the document tree from the input xml 241 245 try: … … 440 444 pass 441 445 446 self.isOmeTiffConsistent = True 447 442 448 # compare with values from xml and tiff 443 449 if self.tiffFileFrames > self.ome5dPlaneCount: … … 454 460 if self.tiffFileFrames < totalTiffDataFrames: 455 461 self.errorList.append(ParseMessage(None, None, None, "TIFF", ("Frames %s out of %s" % (self.tiffFileFrames,totalTiffDataFrames)) , "Not all required frames are present in this Tiff file")) 456 462 self.isOmeTiffConsistent = False 463 457 464 # Used by sax parser to handle errors when processing Elements 458 465 class ParseErrorHandler(sax.ErrorHandler):
