- Timestamp:
- Dec 17, 2010, 10:05:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/ippScripts/scripts/publish_file.pl
r29622 r30102 44 44 my ( $pub_id, $camera, $stage, $stage_id, $fileset, $format, $product, $workdir ); 45 45 my ( $dbname, $verbose, $no_update, $no_op, $save_temps, $redirect ); 46 my ( $output_format ); 46 47 47 48 GetOptions( … … 59 60 'save-temps' => \$save_temps, # Save temporary files? 60 61 'redirect-output' => \$redirect, # Redirect output to log file? 62 'output_format=i' => \$output_format, # Output format for ppMops 61 63 ) or pod2usage( 2 ); 62 64 … … 191 193 warp_id => $comp->{warp1}, 192 194 diff_id => $comp->{diff_id}, 195 output_format => $comp->{output_format}, 193 196 direction => 1, 194 197 }; … … 323 326 324 327 my $command = "$ppMops $input $output"; 325 $command .= " -version 1"; # XXX : NOTE: for now, MOPS just wants PS1_DV1 (remove this eventually...)326 328 $command .= " -exp_name " . $data->{exp_name} if defined $data->{exp_name}; 327 329 $command .= " -exp_id " . $data->{exp_id} if defined $data->{exp_id}; … … 335 337 $command .= " -zp_error " . $data->{zp_err} if defined $data->{zp_err}; 336 338 $command .= " -astrom_rms " . $data->{astrom} if defined $data->{astrom}; 339 $command .= " -version " . $data->{output_format} if defined $data->{output_format}; 337 340 338 341 unless ($no_op) {
Note:
See TracChangeset
for help on using the changeset viewer.
