IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20929


Ignore:
Timestamp:
Dec 7, 2008, 2:32:30 PM (17 years ago)
Author:
eugene
Message:

get source_id from ipprc->source_id

File:
1 edited

Legend:

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

    r20456 r20929  
    3333GetOptions(
    3434    'stack_id|d=s'      => \$stack_id, # Stack identifier
     35    ## XXX future addition: if stack gets multi-skyfile option 'stack_skyfile_id|d=s' => \$stack_skyfile_id, # Stack identifier
    3536    'dbname|d=s'        => \$dbname, # Database name
    3637    'outroot=s'         => \$outroot, # Output root name
     
    6667}
    6768$ipprc->redirect_output($logDest) if $redirect;
     69
     70my $image_id = $stack_id;
     71my $source_id = $ipprc->source_id($dbname, $PS_TABLE_ID_STACK);
    6872
    6973# Look for programs we need
     
    210214    $command .= " -tracedest $traceDest -log $logDest";
    211215    $command .= " -dbname $dbname" if defined $dbname;
     216    # $command .= " -image_id $image_id" if defined $image_id;
     217    # $command .= " -source_id $source_id" if defined $source_id;
    212218    if ($run_state eq 'new') {
    213219        $command .= " -dumpconfig $configuration";
Note: See TracChangeset for help on using the changeset viewer.