Changeset 29140 for branches/sc_branches/psps_testing/testers/fits_file.py
- Timestamp:
- Sep 10, 2010, 9:39:28 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/psps_testing/testers/fits_file.py
r29116 r29140 40 40 FileManipulation.system('/bin/rm -rf %s' % FitsFileTester._TMPDIR) 41 41 42 def __init__(self, fitsname, basename, tempDir, fitsType): 42 def __init__(self, fitsname, basename, tempDir, fitsType, 43 psi_configuration = 'psi.web01_configuration'): 43 44 """ 44 45 Creates an instance of a FitsFileTester … … 58 59 self.fitsType = fitsType 59 60 self.fitsFile = pyfits.open(self.filename) 61 self.psi_configuration = psi_configuration 60 62 61 63 def __del__(self): … … 90 92 """ 91 93 if self.fitsType == "P2": 92 return P2FitsTester(self.fitsFile ).test()94 return P2FitsTester(self.fitsFile, self.psi_configuration).test() 93 95 else: 94 96 raise Exception("Unsupported FITS type [%s]" % self.fitsType)
Note:
See TracChangeset
for help on using the changeset viewer.
