IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28640


Ignore:
Timestamp:
Jul 8, 2010, 2:15:54 PM (16 years ago)
Author:
watersc1
Message:

fix to catch the STS data that was being missed before (an issue of case in the obs_mode and object fields).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/make_burntool_pcontrol.pl

    r28632 r28640  
    328328        foreach my $target (@target_list) {
    329329#           print STDERR "$target $obsmode_list{$target} $exp_type $obs_mode $object $comment\n";
    330             if (($obs_mode =~ /$obsmode_list{$target}/)&&
    331                 ($object   =~ /$object_list{$target}/)&&
    332                 ($comment  =~ /$comment_list{$target}/)) {
     330            if (($obs_mode =~ /$obsmode_list{$target}/i)&&
     331                ($object   =~ /$object_list{$target}/i)&&
     332                ($comment  =~ /$comment_list{$target}/i)) {
    333333                $return_value = 1;
    334334            }
    335 #           print ">$return_value $exp_type $obs_mode $object $comment $target $obsmode_list{$target} $object_list{$target} $comment_list{$target}\n";
     335#           print ">$return_value $exp_type $obs_mode $object $comment <> $target $obsmode_list{$target} $object_list{$target} $comment_list{$target}\n";
    336336            if ($return_value) {
    337337                return($return_value);
Note: See TracChangeset for help on using the changeset viewer.