IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32332


Ignore:
Timestamp:
Sep 6, 2011, 9:46:27 AM (15 years ago)
Author:
rhenders
Message:

removing 'size' and 'md5' fields from BatchManifest file. Time consuming to populate, but were never used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/batch.py

    r32326 r32332  
    264264
    265265        # get md5sum
    266         p = Popen("md5sum " + self.outputFitsPath, shell=True, stdout=PIPE)
    267         p.wait()
    268         out = p.stdout.read()
    269         md5sum = out[0:out.rfind(" ")]
     266        #p = Popen("md5sum " + self.outputFitsPath, shell=True, stdout=PIPE)
     267        #p.wait()
     268        #out = p.stdout.read()
     269        #md5sum = out[0:out.rfind(" ")]
    270270
    271271        # get file size
    272         fileSize = os.path.getsize(self.outputFitsPath)
     272        #fileSize = os.path.getsize(self.outputFitsPath)
    273273
    274274        # file information
     
    276276        root.append(child)
    277277        child.attrib['name'] = self.outputFitsFile
    278         child.attrib['bytes'] = str(fileSize)
    279         child.attrib['md5'] = md5sum
     278        #child.attrib['bytes'] = str(fileSize)
     279        #child.attrib['md5'] = md5sum
    280280
    281281        # now create doc and write to file
     
    519519    '''
    520520    Creates and publishes a batch
    521     TODO all methids call below should throw exceptions on failure
     521    TODO all methdds call below should throw exceptions on failure
    522522    '''
    523523    def run(self):
Note: See TracChangeset for help on using the changeset viewer.