IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21242 for trunk/pstamp


Ignore:
Timestamp:
Jan 30, 2009, 2:24:23 PM (17 years ago)
Author:
bills
Message:

fix error in building args string for requests that generate multiple jobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstampparse.pl

    r20256 r21242  
    3333
    3434die "invalid mode '$mode'" unless ($mode eq "list_uri") or ($mode eq "list_job") or ($mode eq "queue_job");
    35 die "file is required"     if !defined($request_file_name);
     35die "--file is required"     if !defined($request_file_name);
    3636
    3737if ($mode ne "list_uri") {
     
    238238        }
    239239    } else {
    240         my $args = $roi_string ? $roi_string : "";
    241         $args .= " -class_id $class_id" if $class_id;
    242 
    243240        # sequence number for the the job for a request spec. Not to be confused with job_id
    244241        my $job_num = 0;
     
    250247            my $exp_id = $image->{exp_id};
    251248           
     249            my $args = $roi_string ? $roi_string : "";
     250            $args .= " -class_id $class_id" if $class_id;
    252251
    253252            $job_num++;
Note: See TracChangeset for help on using the changeset viewer.