IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2007, 10:20:13 AM (19 years ago)
Author:
Paul Price
Message:

Got the names right now!

File:
1 edited

Legend:

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

    r14135 r14136  
    8888
    8989foreach my $exp_name ( @ARGV ) {
    90     my $command = "$pxinject -newExp";
    91     " -exp_name $exp_name";
    92     " -inst $camera";
    93     " -telescope $telescope";
    94     " -workdir $workdir";
    95     " -dbname $dbname" if defined $dbname;
    96     " -imfiles " . (scalar @classes or 1) ; # Command to run
     90    my $command = "$pxinject -newExp -tmp_exp_name $exp_name -tmp_inst $camera -tmp_telescope $telescope -workdir $workdir"; # Command to run
     91    $command .= " -dbname $dbname" if defined $dbname;
    9792
    9893    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    112107
    113108        $filename = $ipprc->convert_filename_relative( $filename );
    114         my $command = "$pxinject -newImfile";
    115         " -exp_id $exp_id";
    116         " -exp_name $exp_name";
    117         " -class chip";
    118         " -class_id $class_id";
    119         " -uri $filename";
    120         " -dbname $dbname" if defined ($dbname); # Command to run
     109        my $command = "$pxinject -newImfile -exp_id $exp_id -tmp_class_id $class_id -uri $filename"; # Command to run
     110        $command .= " -dbname $dbname" if defined ($dbname);
    121111
    122112        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    133123
    134124        $filename = $ipprc->convert_filename_relative( $filename );
    135         my $command = "$pxinject -newImfile -exp_id $exp_id -exp_name $exp_name -class fpa -class_id fpa -dbname $dbname -uri $filename"; # Command to run
     125        my $command = "$pxinject -newImfile -exp_id $exp_id -tmp_class_id fpa -uri $filename"; # Command to run
     126        $command .= " -dbname $dbname" if defined ($dbname);
    136127        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    137128            run( command => $command, verbose => 1 );
Note: See TracChangeset for help on using the changeset viewer.