Changeset 23677 for branches/pap/ippScripts/scripts/warp_skycell.pl
- Timestamp:
- Apr 2, 2009, 11:55:52 AM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ippScripts/scripts/warp_skycell.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ippScripts/scripts/warp_skycell.pl
r23653 r23677 175 175 # Run pswarp 176 176 my $cmdflags; 177 my $accept = 1; # Accept the skycell?178 177 my $do_stats; 179 178 unless ($no_op) { … … 215 214 216 215 if ($do_stats) { 217 # Check first for the stats file , and if the ACCEPT flag is set.216 # Check first for the stats file 218 217 my $outputStatsReal = $ipprc->file_resolve($outputStats); 219 218 &my_die("Couldn't find expected output file: $outputStats", $warp_id, $skycell_id, $tess_dir, $PS_EXIT_SYS_ERROR) unless -f $outputStatsReal; … … 234 233 my ($quality) = $cmdflags =~ /-quality (\d+)/; # Quality flag 235 234 236 if (!$quality and $cmdflags =~ /-accept/) {235 if (!$quality) { 237 236 &my_die("Couldn't find expected output file: $outputImage", $warp_id, $skycell_id, $tess_dir, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputImage); 238 237 &my_die("Couldn't find expected output file: $outputMask", $warp_id, $skycell_id, $tess_dir, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask); … … 251 250 $command .= " -magicked" if $magicked; 252 251 253 $command .= " -uri $outputImage" if $accept;252 $command .= " -uri $outputImage" if !$quality; 254 253 $command .= (" -dtime_script " . ((DateTime->now->mjd - $mjd_start) * 86400)); 255 $command .= " $cmdflags" if $accept;254 $command .= " $cmdflags"; 256 255 $command .= " -hostname $host" if defined $host; 257 256 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
