IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 22, 2011, 3:44:24 PM (15 years ago)
Author:
rhenders
Message:

making fits file argument to constructor optional (don't need for init batch)

File:
1 edited

Legend:

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

    r31840 r31920  
    4747        self.doc = doc
    4848        self.fits = fits
    49         self.header = self.fits.getPrimaryHeader()
     49        if self.fits is not None:
     50            self.header = self.fits.getPrimaryHeader()
    5051
    5152        # set up logging
Note: See TracChangeset for help on using the changeset viewer.