IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27938


Ignore:
Timestamp:
May 12, 2010, 3:45:51 PM (16 years ago)
Author:
watersc1
Message:

I introduced a bug that killed burntool processing. This should resolve that bug.

Location:
trunk/ippScripts/scripts
Files:
2 edited

Legend:

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

    r27860 r27938  
    455455    }
    456456
    457     if ($#{ $stderr_buf } > -1) {
    458         $metadata_out{nsState} = 'ERROR';
    459         return(1);
    460     }
     457#    if ($#{ $stderr_buf } > -1) {
     458#        $metadata_out{nsState} = 'ERROR';
     459#        return(1);
     460#    }
    461461
    462462    my $N = 0;
     
    464464    foreach my $row (@burntool_entries) {
    465465        my ($trash,$start,$end);
    466         ($trash,$trash,$start,$end) = (split /\s+/,$row);
    467 
     466        (undef,$trash,$start,$end) = (split /\s+/,$row);
     467        if ($trash ne 'burntool') {
     468            $metadata_out{nsState} = 'ERROR';
     469            return(1);
     470        }
    468471        for (my $class_counter = 0; $class_counter < 60; $class_counter++) {
    469472            $metadata_out{"bt${N}Begin"} = $start;
  • trunk/ippScripts/scripts/make_burntool_pcontrol.pl

    r27865 r27938  
    322322    my ($exp_type,$obs_mode,$object,$comment) = @_;
    323323    my $return_value = 0;
     324    unless($object) {
     325        $object = '';
     326    }
    324327    if ($exp_type eq 'OBJECT') {
    325328        foreach my $target (@target_list) {
     329#           print STDERR "$target $obsmode_list{$target} $exp_type $obs_mode $object $comment\n";
    326330            if (($obs_mode =~ /$obsmode_list{$target}/)&&
    327331                ($object   =~ /$object_list{$target}/)&&
Note: See TracChangeset for help on using the changeset viewer.