IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 18, 2009, 11:37:38 AM (17 years ago)
Author:
watersc1
Message:

Comment about last bugfix, and changing "3PI" to "ThreePi" as that's what actually appears in comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/make_burntool_pcontrol.pl

    r25443 r25444  
    137137#%science = ('MD' => 1, '3PI' => 1, 'STS' => 1, 'CAL' => 1, 'M31' => 1, 'SS' => 1,
    138138#           'ENGINEERING' => 0, 'NULL' => 0, 'Unknown' => 0, ' ' => 0);
    139 
     139# I don't like this bit, but we need to work around the bad values of obs_mode that periodically crop up.
     140# This isn't the most robust solution (which would of course be "having trustworthy obs_mode values"), but
     141# it'll probably work for now.
    140142        if ((($science{$obs_mode} == 1)&&($comment !~ /Daytime/))||
    141143            (($science{$obs_mode} == 0)&&(
    142                                           ($comment =~ /MD/)||($comment =~ /3PI/)||
     144                                          ($comment =~ /MD/)||($comment =~ /ThreePi/)||
    143145                                          ($comment =~ /STS/)||($comment =~ /M31/)||
    144146                                          ($comment =~ /CAL/)||($comment =~ /SS/))))                                     
Note: See TracChangeset for help on using the changeset viewer.