Changeset 27874 for trunk/pstamp/scripts/pstampparse.pl
- Timestamp:
- May 6, 2010, 1:55:20 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r27854 r27874 25 25 my $request_file_name; 26 26 my $mode = "list_uri"; 27 my $out _dir;27 my $outdir; 28 28 my $product; 29 29 my $label; … … 34 34 'file=s' => \$request_file_name, 35 35 'req_id=s' => \$req_id, 36 'out _dir=s' => \$out_dir,36 'outdir=s' => \$outdir, 37 37 'product=s' => \$product, 38 38 'label=s' => \$label, … … 50 50 if ($mode ne "list_uri") { 51 51 die "req_id is required" if !$req_id; 52 die "out _dir is required" if !$out_dir;52 die "outdir is required" if !$outdir; 53 53 die "product is required" if !$product; 54 54 } … … 129 129 # update the database with the request name. This will be used as the 130 130 # the output data store's product name 131 my $command = "$pstamptool -updatereq -req_id $req_id - name $req_name";132 $command .= " - outProduct $product";131 my $command = "$pstamptool -updatereq -req_id $req_id -set_name $req_name"; 132 $command .= " -set_outProduct $product"; 133 133 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 134 134 run(command => $command, verbose => $verbose); … … 522 522 $base =~ s/.fits$//; 523 523 524 my $output_base = "$out _dir/${rownum}_${job_num}_${base}";524 my $output_base = "$outdir/${rownum}_${job_num}_${base}"; 525 525 my $argslist = "${output_base}.args"; 526 526 … … 712 712 my $exp_id = $image->{exp_id}; 713 713 714 my $output_base = "$out _dir/${rownum}_${job_num}";714 my $output_base = "$outdir/${rownum}_${job_num}"; 715 715 716 716 write_params($output_base, $image); … … 894 894 895 895 my $dep_id; 896 my $command = "$pstamptool -getdependent -stage $stage -stage_id $stage_id -imagedb $imagedb -component $component -outdir $out _dir";896 my $command = "$pstamptool -getdependent -stage $stage -stage_id $stage_id -imagedb $imagedb -component $component -outdir $outdir"; 897 897 $command .= " -need_magic" if $need_magic; 898 898
Note:
See TracChangeset
for help on using the changeset viewer.
