IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2008, 9:04:15 AM (18 years ago)
Author:
eugene
Message:

update cleanup code for current interface with chiptool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080618/ippScripts/scripts/ipp_cleanup.pl

    r18191 r18273  
    6363    # dettool -pendingcleanupimfile -chip_id $stage_id
    6464
    65     # Get list of component files
     65    # Get list of component imfiles
     66    # XXX may need a different my_die for each stage
    6667    my $imfiles;                      # Array of component files
    6768    my $command = "$dettool -pendingcleanupimfile -chip_id $stage_id"; # Command to run
     
    7071    unless ($success) {
    7172        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    72         &my_die("Unable to perform camtool: $error_code", $cam_id, $error_code);
     73        &my_die("Unable to perform camtool: $error_code", "chip", $stage_id, $error_code);
    7374    }
    7475    my $metadata = $mdcParser->parse(join "", @$stdout_buf) or
    75         &my_die("Unable to parse metadata config doc", $cam_id, $PS_EXIT_PROG_ERROR);
     76        &my_die("Unable to parse metadata config doc", "chip", $stage_id, $PS_EXIT_PROG_ERROR);
    7677
    7778    # extract the metadata for the files into a hash list
    7879    $imfiles = parse_md_list($metadata) or
    79         &my_die("Unable to parse metadata list", $cam_id, $PS_EXIT_PROG_ERROR);
     80        &my_die("Unable to parse metadata list", "chip", $cam_id, $PS_EXIT_PROG_ERROR);
    8081
    8182    # loop over all of the imfiles, determine the path_base and class_id for each
Note: See TracChangeset for help on using the changeset viewer.