IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 10, 2015, 11:52:20 AM (11 years ago)
Author:
heather
Message:

final tweaks for addstar multi mode

File:
1 edited

Legend:

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

    r38583 r38584  
    124124            run(command => $command, verbose => $verbose);
    125125    &my_die( "Unable to get info on addRun", $stage_id,$stage, $label, $PS_EXIT_SYS_ERROR) unless $success;
    126     if (scalar @$stdout_buf == 0 ) { #it lists nothing if it is the first
    127         &my_die( "empty addRun", $stage_id,$stage,$label, $PS_EXIT_SYS_ERROR);
    128        
     126    if (scalar @$stdout_buf == 0 ) {
     127        #&my_die( "empty addRun", $stage_id,$stage,$label, $PS_EXIT_SYS_ERROR);
     128        print "empty addRun, exiting... $stage,  $stage_id, $label\n";
     129        exit 0;
    129130    } else {
    130131            my $metadata = $mdcParser->parse(join "", @$stdout_buf) or
     
    291292    carp($msg);
    292293    if (defined $stage_id and not $no_update) {
    293         my $command = "$addtool -stage_id $stage_id";
     294        my $command = "$addtool -multiadd -stage_id $stage_id";
    294295        $command .= " -addprocessedexp";
    295296        $command .= " -fault $exit_code";
Note: See TracChangeset for help on using the changeset viewer.