IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 2, 2009, 2:51:37 PM (17 years ago)
Author:
Paul Price
Message:

Merging in branches/pap/ from r23685. Some conflicts, most notably in ippTools, but these resolved fairly simply. Only question mark is on regtool reversion, but I think I got it right. Everything builds fine.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ippScripts/scripts/camera_exp.pl

    r23295 r23688  
    263263            &my_die("Unable to perform psastro: $error_code", $cam_id, $error_code);
    264264        }
    265         # XXX do we want to give an error if astrometry fails here?
    266         &my_die("Unable to find expected output file: $fpaObjects", $cam_id, $PS_EXIT_PROG_ERROR) unless -f $ipprc->file_resolve($fpaObjects);
    267 
     265
     266        my $quality;            # Quality flag
    268267        if ($do_stats) {
    269268            my $fpaStatsReal = $ipprc->file_resolve($fpaStats);
     
    282281            }
    283282            chomp $cmdflags;
     283
     284            ($quality) = $cmdflags =~ /-quality (\d+)/;
     285        }
     286
     287        if (!$quality) {
     288            &my_die("Unable to find expected output file: $fpaObjects", $cam_id, $PS_EXIT_PROG_ERROR) unless -f $ipprc->file_resolve($fpaObjects);
    284289        }
    285290
     
    375380            $command .= " -addprocessedexp";
    376381            $command .= " -uri UNKNOWN";
    377             $command .= " -code $exit_code";
     382            $command .= " -fault $exit_code";
    378383            $command .= " -path_base $outroot";
    379384            $command .= " -path_base $outroot" if defined $outroot;
     
    381386        } else {
    382387            $command .= " -updateprocessedexp";
    383             $command .= " -code $exit_code";
     388            $command .= " -fault $exit_code";
    384389        }
    385390        $command .= " -hostname $host" if defined $host;
Note: See TracChangeset for help on using the changeset viewer.