IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 12, 2015, 12:53:36 PM (12 years ago)
Author:
eugene
Message:

merging changes from ipp-pv3-20140717 (via branches/eam_branches/ipp-pv3-20140717-merge)

Location:
trunk/ippScripts/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts

  • trunk/ippScripts/scripts/lap_science.pl

    r37812 r37833  
    3434my $qstack_threshold     = 0.05; # Only make a quickstack if more than 5% of the exposures require it.
    3535my $minimum_stack_inputs = 2;    # We can avoid magicking stack inputs if we have more than this number.
    36 my $maximum_stack_inputs = 25;   # This is the place-holder guess on how big a stack we should process locally
     36my $maximum_stack_inputs = 25;   # This is the place-holder guess on how big a stack we should process locally.  25 is the best guess.
    3737my $do_updates_pv2       = 0;    # Do updates using the calls needed for PV2. 
    3838
     
    10581058    unless ($success) {
    10591059        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    1060         &my_die("Unable to perform stacktool -definebyquery: $error_code", $lap_id);
     1060        &my_die("Unable to perform stacktool -definebyquery: $error_code :: $command", $lap_id);
    10611061    }
    10621062    my $stacks_made = $mdcParser->parse_list(join "", @$stdout_buf) or
     
    10661066    ## Queue the "deep" stacks that will run locally.
    10671067    my $deep_minimum = $maximum_stack_inputs + 1;
     1068    if ($deep_minimum < 2) { $deep_minimum = 2; }
    10681069    $command = "$stacktool ";
    10691070    $command .= " -pretend " if defined $debug;
     
    10791080    unless ($success) {
    10801081        $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    1081         &my_die("Unable to perform stacktool -definebyquery: $error_code", $lap_id);
    1082     }
    1083     my $stacks_made_deep .= $mdcParser->parse_list(join "", @$stdout_buf) or
     1082        &my_die("Unable to perform stacktool -definebyquery: $error_code :: $command", $lap_id);
     1083    }
     1084    my $stacks_made_deep = $mdcParser->parse_list(join "", @$stdout_buf) or
    10841085        &my_die("unable to parse metadata from stacktool -definebyquery", $lap_id, "");   
    10851086
    10861087    # Append deep stacks to stacks so we can get a complete count later.
    1087     push @{ $stacks_made}, @{ $stacks_made_deep };
     1088    push @{ $stacks_made }, @{ $stacks_made_deep };
    10881089   
    10891090    ## Determine the sass_id so we can record it in the database.
     
    14491450
    14501451    my @clean_modes = (
    1451 #       'chiptool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -set_label goto_cleaned -label @LABEL@ -chip_id @CHIP_ID@',
     1452        'chiptool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -set_label goto_cleaned -label @LABEL@ -chip_id @CHIP_ID@',
    14521453#       'warptool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -set_label goto_cleaned -label @LABEL@ -warp_id @WARP_ID@',
    14531454        'difftool -dbname @DBNAME@ -updaterun -set_state goto_cleaned -set_label goto_cleaned -label @LABEL@ -diff_id @DIFF_ID@',
Note: See TracChangeset for help on using the changeset viewer.