- Timestamp:
- Aug 7, 2009, 12:45:24 PM (17 years ago)
- Location:
- branches/eam_branches/20090715
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamp/test/pstamp_req_create (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715
- Property svn:mergeinfo changed
/trunk (added) merged: 24801-24824,24827-24834,24836-24859,24861-24901,24903-24912,24914-24950,24953-24971,24973-24977,24986-24989,24993-25017
- Property svn:mergeinfo changed
-
branches/eam_branches/20090715/pstamp/test/pstamp_req_create
r20257 r25022 26 26 27 27 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 28 pod2usage( -msg => "Required options: --input --output ",29 -exitval => 3) unless defined $input and defined $output;28 pod2usage( -msg => "Required options: --input --output | --req_name", 29 -exitval => 3) unless defined $input and (defined $output or defined $req_name); 30 30 31 31 # The header kewords … … 55 55 { name => 'IMG_TYPE', type => '16A', writetype => TSTRING }, 56 56 { name => 'ID', type => '16A', writetype => TSTRING }, 57 { name => 'CLASS_ID', type => '16A', writetype => TSTRING }, 57 { name => 'TESS_ID', type => '64A', writetype => TSTRING }, 58 { name => 'COMPONENT', type => '64A', writetype => TSTRING }, 58 59 59 60 … … 95 96 if ($req_name) { 96 97 $header->[0]->{value} = $req_name; 97 } 98 } else { 99 $req_name = $header->[0]->{value}; 100 } 101 102 die "no request name defined" unless defined $req_name; 103 104 $output = $req_name . ".fits" if !$output; 98 105 99 106 my $status = make_fits_table($output, EXTNAME, $numRows, \@colData, $columns, $header);
Note:
See TracChangeset
for help on using the changeset viewer.
