• Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 93 for Xml/Validator/Backend/OmeValidator.py

Show
Ignore:
Timestamp:
09/19/07 13:52:48 (14 months ago)
Author:
andrew
Message:

Applied Version 2 - September 2007 changes to schema and improved Tiff chacks in validator

Files:
1 modified

  • Xml/Validator/Backend/OmeValidator.py (modified) (3 diffs)

Legend:

Unmodified
Added
Removed
  • Xml/Validator/Backend/OmeValidator.py

    r92 r93  
    238238                # create an IO string for the xml string provided 
    239239                stringXml = StringIO(self.theDom.toxml()) 
     240                 
     241                # 
     242                print self.theDom.toprettyxml() 
     243                 
    240244                # building the document tree from the input xml 
    241245                try: 
    … …  
    440444                    pass 
    441445                 
     446                self.isOmeTiffConsistent = True 
     447                 
    442448                # compare with values from xml and tiff 
    443449                if self.tiffFileFrames > self.ome5dPlaneCount: 
    … …  
    454460                if self.tiffFileFrames < totalTiffDataFrames: 
    455461                        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                 
    457464# Used by sax parser to handle errors when processing Elements 
    458465class ParseErrorHandler(sax.ErrorHandler): 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/