Changeset 17520 for trunk/ippScripts/scripts/ipp_mops_translate.pl
- Timestamp:
- May 4, 2008, 2:14:23 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/ipp_mops_translate.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_mops_translate.pl
r17323 r17520 20 20 $skycell, # Skycell file with WCS 21 21 $output, # Name of output file 22 $save_temps 22 23 ); 23 24 … … 27 28 'skycell=s' => \$skycell, 28 29 'output=s' => \$output, 30 'save-temps' => \$save_temps, # Save temporary files? 29 31 ) or pod2usage( 2 ); 30 32 … … 262 264 $fits->read_col($yType, $yCol, 1, 1, $numRows, 0, $y, undef, $status) and check_fitsio($status); 263 265 264 my ($coordFile, $coordName) = tempfile( "/tmp/ds9_cmf_regions.XXXX", UNLINK => 1);266 my ($coordFile, $coordName) = tempfile( "/tmp/ds9_cmf_regions.XXXX", UNLINK => !$save_temps ); 265 267 for (my $i = 0; $i < $numRows; $i++) { 266 268 print $coordFile "image; circle(" . ($$x[$i] + 1) . ',' . ($$y[$i] + 1) .
Note:
See TracChangeset
for help on using the changeset viewer.
