- Timestamp:
- Feb 6, 2013, 11:11:22 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/ippToPsps/jython/stackbatch.py
r35076 r35089 768 768 self.logger.infoPair("obtained","imageID") 769 769 770 dumpFile = "/tmp/datadump/genetest.xx.dat" 770 # check for & create output directory first 771 datadumpDir = "/tmp/datadump" 772 try: 773 statinfo = os.stat(datadumpDir) 774 # check on the stat results? 775 except: 776 print "making the data dump directory ", datadumpDir 777 os.mkdir(datadumpDir) 778 os.chmod(datadumpDir, 0777) 779 statinfo = os.stat(datadumpDir) 780 781 dumpFile = datadumpDir + "/genetest.xx.dat" 771 782 files = glob.glob(dumpFile) 772 783 if len(files) > 0:
Note:
See TracChangeset
for help on using the changeset viewer.
