IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33290 for trunk/ippToPsps


Ignore:
Timestamp:
Feb 16, 2012, 3:29:54 PM (14 years ago)
Author:
rhenders
Message:

added try/catch around STILTS fits reader as this sometimes fails

File:
1 edited

Legend:

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

    r33259 r33290  
    377377
    378378      self.logger.infoPair("Importing tables with filter", filter)
    379       tables = stilts.treads(self.fits.getPath())
     379
     380      try:
     381          tables = stilts.treads(self.fits.getPath())
     382      except:
     383          self.logger.errorPair("STILTS could not import from", self.fits.getPath())
     384          return False
    380385
    381386      count = 0
Note: See TracChangeset for help on using the changeset viewer.