Changeset 39057
- Timestamp:
- Nov 6, 2015, 10:06:14 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/tools/bills/joinstackcmf (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bills/joinstackcmf
r39014 r39057 16 16 use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt ); 17 17 use Pod::Usage qw( pod2usage ); 18 use PS::IPP::Config 1.01 qw( :standard ); 19 20 my $ipprc = PS::IPP::Config->new(); 18 21 19 22 # It wouldn't be too hard to make ota an array and do a list of chips. … … 49 52 my $infilename = basename($cmf); 50 53 51 my $path; 52 if ($cmf =~ /^neb:/) { 53 $path = `neb-locate -p $cmf`; 54 if (!$path) { 55 die "ailed to find location of $cmf\n"; 56 } 57 print $path if $verbose; 58 chomp $path; 59 } else { 60 $path = $cmf; 54 my $path = $ipprc->file_resolve($cmf);; 55 if (!$path) { 56 die "ailed to find location of $cmf\n"; 61 57 } 62 58 … … 76 72 (undef, $skycell_id) = split " ", $results; 77 73 (undef, $proj, $cell) = split '\.', $skycell_id; 78 $cell += 0;79 $proj += 0;80 74 } 75 $cell += 0; 76 $proj += 0; 81 77 82 78 print "$stack_id $skycal_id $skycell_id\n" if $verbose;
Note:
See TracChangeset
for help on using the changeset viewer.
