Changeset 26835
- Timestamp:
- Feb 9, 2010, 6:38:12 PM (16 years ago)
- Location:
- branches/eam_branches/20091201
- Files:
-
- 4 edited
-
ippScripts/scripts/magic_process.pl (modified) (3 diffs)
-
ippconfig/recipes/filerules-mef.mdc (modified) (1 diff)
-
ippconfig/recipes/filerules-simple.mdc (modified) (1 diff)
-
ippconfig/recipes/filerules-split.mdc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/ippScripts/scripts/magic_process.pl
r26812 r26835 290 290 my $baseroot = shift; 291 291 292 unless ($VerifyStreaks) { 293 print STDERR "skipping VerifyStreaks\n";294 return 1;292 unless ($VerifyStreaks) { 293 print STDERR "skipping VerifyStreaks\n"; 294 return 1; 295 295 } 296 296 … … 300 300 301 301 my($status) = system ("mkdir -p $outdir"); 302 if ($status) { 303 print STDERR "failed to create output directory $outdir\n"; 304 return 1; 305 } 302 if ($status) { 303 print STDERR "failed to create output directory $outdir\n"; 304 return 1; 305 } 306 307 my $FILE; 306 308 307 309 my @files = <$baseroot.*.clusters>; 308 unless (OPEN (FILE, ">$outdir/clusters.list")) { 309 print "failed to create cluster file $outdir/clusters.list\n"; 310 return 1; 310 311 unless (open ($FILE, ">$outdir/clusters.list")) { 312 print "failed to create cluster file $outdir/clusters.list\n"; 313 return 1; 311 314 } 312 315 foreach my $file (@files) { 313 print FILE "$file\n"; 314 } 315 close (FILE); 316 if ($status) { 317 print "failed to create cluster file $outdir/clusters.list\n"; 318 return 1; 316 $file =~ s|.clusters$||; 317 print $FILE "$file\n"; 318 } 319 close ($FILE); 320 if ($status) { 321 print "failed to create cluster file $outdir/clusters.list\n"; 322 return 1; 319 323 } 320 324 … … 322 326 323 327 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 324 run(command => $command, verbose => $verbose);328 run(command => $command, verbose => $verbose); 325 329 unless ($success) { 326 print "failed to run VerifyStreaks:\n stderr: $stderr_buff\n stdout: $stdout_buff"; 327 return 1;330 print "failed to run VerifyStreaks:\n"; 331 return 1; 328 332 } 329 333 -
branches/eam_branches/20091201/ippconfig/recipes/filerules-mef.mdc
r26598 r26835 302 302 CENSOR.OUTPUT OUTPUT {OUTPUT}.smf CMF NONE FPA TRUE MEF 303 303 304 MAGIC.ORIGINAL.PNG OUTPUT {OUTPUT}_original.png JPEG NONE FPA TRUE NONE 305 MAGIC.RESIDUAL.PNG OUTPUT {OUTPUT}_residual.png JPEG NONE FPA TRUE NONE 306 MAGIC.MASK.PNG OUTPUT {OUTPUT}_mask.png JPEG NONE FPA TRUE NONE 307 MAGIC.DUPLICATE.PNG OUTPUT {OUTPUT}_duplicate.png JPEG NONE FPA TRUE NONE 308 304 309 PPSMOOTH.OUTPUT OUTPUT {OUTPUT}.{CHIP.NAME}.fits IMAGE NONE CHIP TRUE MEF 305 310 PPSMOOTH.OUTPUT.MASK OUTPUT {OUTPUT}.{CHIP.NAME}.mk.fits MASK NONE CHIP TRUE MEF -
branches/eam_branches/20091201/ippconfig/recipes/filerules-simple.mdc
r26598 r26835 250 250 CENSOR.OUTPUT OUTPUT {OUTPUT}.smf CMF NONE FPA TRUE MEF 251 251 252 MAGIC.ORIGINAL.PNG OUTPUT {OUTPUT}_original.png JPEG NONE FPA TRUE NONE 253 MAGIC.RESIDUAL.PNG OUTPUT {OUTPUT}_residual.png JPEG NONE FPA TRUE NONE 254 MAGIC.MASK.PNG OUTPUT {OUTPUT}_mask.png JPEG NONE FPA TRUE NONE 255 MAGIC.DUPLICATE.PNG OUTPUT {OUTPUT}_duplicate.png JPEG NONE FPA TRUE NONE 256 252 257 PPSMOOTH.OUTPUT OUTPUT {OUTPUT}.fits IMAGE NONE FPA TRUE SIMPLE 253 258 PPSMOOTH.OUTPUT.MASK OUTPUT {OUTPUT}.mk.fits MASK NONE FPA TRUE SIMPLE -
branches/eam_branches/20091201/ippconfig/recipes/filerules-split.mdc
r26598 r26835 269 269 CENSOR.OUTPUT OUTPUT {OUTPUT}.smf CMF NONE FPA TRUE MEF 270 270 271 MAGIC.ORIGINAL.PNG OUTPUT {OUTPUT}_original.png JPEG NONE FPA TRUE NONE 272 MAGIC.RESIDUAL.PNG OUTPUT {OUTPUT}_residual.png JPEG NONE FPA TRUE NONE 273 MAGIC.MASK.PNG OUTPUT {OUTPUT}_mask.png JPEG NONE FPA TRUE NONE 274 MAGIC.DUPLICATE.PNG OUTPUT {OUTPUT}_duplicate.png JPEG NONE FPA TRUE NONE 275 271 276 PPSMOOTH.OUTPUT OUTPUT {OUTPUT}.{CHIP.NAME}.fits IMAGE NONE CHIP TRUE MEF 272 277 PPSMOOTH.OUTPUT.MASK OUTPUT {OUTPUT}.{CHIP.NAME}.mk.fits MASK NONE CHIP TRUE MEF
Note:
See TracChangeset
for help on using the changeset viewer.
