Ignore:
Timestamp:
08/25/15 13:10:46 (9 years ago)
Author:
dneise
Message:
more treatment of special cases
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/trigger_burst_research/sketch.py

    r18293 r18294  
    9696            last_night = this_run['fNight']
    9797
    98         mask = (
    99             (trigger_rates['Time'] > fjd(this_run['fRunStart'])) *
    100             (trigger_rates['Time'] < fjd(this_run['fRunStop']))
    101             )
     98        try:
     99            mask = (
     100                (trigger_rates['Time'] > fjd(this_run['fRunStart'])) *
     101                (trigger_rates['Time'] < fjd(this_run['fRunStop']))
     102                )
     103        except ValueError:
     104            continue
    102105       
    103106        if mask.sum() == 0:
Note: See TracChangeset for help on using the changeset viewer.