Changeset 39103 for trunk/ippToPsps/jython/testCode.py
- Timestamp:
- Nov 11, 2015, 11:08:06 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/testCode.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/testCode.py
r39068 r39103 96 96 print "words[1]: " + words[1] 97 97 98 99 98 100 # self.connectMysql(argv) 99 101 # self.importIppTables() … … 118 120 testcode.run(sys.argv) 119 121 except: pass 122 123 # XXX a test of fits header reading: 124 ## XX myFits = Fits(self.logger, self.config, sys.argv[2]) 125 ## XX 126 ## XX for ix in range(7, -1, -1): 127 ## XX for iy in range(7, -1, -1): 128 ## XX if (ix == 0) and (iy == 0): continue 129 ## XX if (ix == 7) and (iy == 0): continue 130 ## XX if (ix == 0) and (iy == 7): continue 131 ## XX if (ix == 7) and (iy == 7): continue 132 ## XX extname = "XY%d%d.hdr" % (ix, iy) 133 ## XX 134 ## XX header = myFits.findAndReadHeader(extname, False) 135 ## XX print "read " + extname 136 ## XX 137 ## XX os._exit(3) 138 139 ## the above works in loader.init()
Note:
See TracChangeset
for help on using the changeset viewer.
