IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 7, 2010, 2:58:52 PM (16 years ago)
Author:
rhenders
Message:

Now pulling correct survey ID from init data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/scripts/ippToPsps_run.pl

    r28205 r28249  
    7070
    7171# make a temporary file for saving results
    72 my ($resultsFile, $resultsFileName) = tempfile( "/tmp/results.XXXX", UNLINK => !$save_temps);
     72my ($resultsFile, $resultsFileName) = tempfile( "/tmp/ippToPsps_results.XXXX", UNLINK => !$save_temps);
    7373
    7474process();
     
    8686    if ($distGroup =~ m/^MD([0-1][0-9])$/i) {return "MD$1";}
    8787    if ($distGroup =~ m/^M31$/i) {return "M31";}
    88     if ($distGroup =~ m/^sts$/i) {return "STS";}
     88    if ($distGroup =~ m/^sts$/i) {return "STS1";}
    8989    if ($distGroup =~ m/^SweetSpot$/i) {return "SSS";}
    9090    if ($distGroup =~ m/^(3PI)|(ThreePi)|(SAS)$/i) {return "3PI";}
     
    140140            AND chipRun.exp_id = rawExp.exp_id
    141141            AND camRun.dist_group = '$survey'   
    142             AND rawExp.exp_id > 145986
    143142            GROUP BY  rawExp.exp_id
    144143            ORDER BY rawExp.exp_id ASC;
     
    627626    my $fullJobPath = "$path/$job";
    628627
    629     my ($tempFile, $tempName) = tempfile( "/tmp/dsregList.XXXX", UNLINK => !$save_temps);
     628    my ($tempFile, $tempName) = tempfile( "/tmp/ippToPsps_dsregList.XXXX", UNLINK => !$save_temps);
    630629
    631630    # loop through all batch files in this job directory
     
    718717
    719718        # now write the path to this file out to temp file
    720         my ($tempFile, $tempName) = tempfile( "/tmp/inputFileList.XXXX", UNLINK => !$save_temps);
     719        my ($tempFile, $tempName) = tempfile( "/tmp/ippToPsps_inputFileList.XXXX", UNLINK => !$save_temps);
    721720        print $tempFile $realFile . "\n";
    722721        close $tempFile;
     
    794793    $command .= " -expid $expid";
    795794    $command .= " -expname $expName";
     795    $command .= " -survey $surveyType";
    796796    $command .= " -batch $batchType";
    797797    $command .= " -results $resultsFileName";
Note: See TracChangeset for help on using the changeset viewer.