IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2009, 9:36:52 AM (17 years ago)
Author:
bills
Message:

pass -image_id and -source_id to the programs

File:
1 edited

Legend:

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

    r20927 r21309  
    5353    defined $chip_id and
    5454    defined $class_id and
    55     ## defined $chip_imfile_id and  XXX until this is added to the scheme, do not require it :
     55    defined $chip_imfile_id and
    5656    defined $uri and
    5757    defined $camera and
     
    102102$ipprc->outroot_prepare($outroot);
    103103
    104 my $image_id = $chip_imfile_id;
    105104my $source_id = $ipprc->source_id($dbname, $PS_TABLE_ID_CHIP);
    106105
     
    133132        $command .= " -threads $threads" if defined $threads;
    134133        $command .= " -dbname $dbname" if defined $dbname;
    135         # $command .= " -image_id $image_id" if defined $image_id;
    136         # $command .= " -source_id $source_id" if defined $source_id;
     134        $command .= " -image_id $chip_imfile_id" if defined $chip_imfile_id;
     135        $command .= " -source_id $source_id" if defined $source_id;
    137136        $command .= " -dumpconfig $configuration";
    138137        $command .= " -tracedest $traceDest -log $logDest";
     
    143142        $command .= " -threads $threads" if defined $threads;
    144143        $command .= " -dbname $dbname" if defined $dbname;
    145         # $command .= " -image_id $image_id" if defined $image_id;
    146         # $command .= " -source_id $source_id" if defined $source_id;
     144        $command .= " -image_id $chip_imfile_id" if defined $chip_imfile_id;
     145        $command .= " -source_id $source_id" if defined $source_id;
    147146        $command .= " -tracedest $traceDest -log $logDest";
    148147        $command .= " -Db PPIMAGE:PHOTOM FALSE";
Note: See TracChangeset for help on using the changeset viewer.