Changeset 39209 for trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
- Timestamp:
- Dec 2, 2015, 10:14:56 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r38370 r39209 746 746 my $mask_base; 747 747 if ($want_astrom) { 748 if ($selectedAstrom) { 748 if ($out->{cam_path_base}) { 749 # XXX Cheating here 750 my $astromSource = 'PSASTRO.OUTPUT'; 751 $out->{astrom} = $ipprc->filename($astromSource, $out->{cam_path_base}); 752 } elsif ($selectedAstrom) { 749 753 $out->{astrom} = $selectedAstrom; 750 754 $out->{cam_path_base} = $selectedAstrom; … … 763 767 } 764 768 } 769 # XXX: cheating here 765 770 # XXX: do this right by looking at the recipe 766 771 $mask_base = $out->{cam_path_base}; … … 1471 1476 if (!$astromSource) { 1472 1477 if ($camera eq "GPC1") { 1473 # CHEATER !1478 # XXX: CHEATER ! 1474 1479 $astromSource = "PSASTRO.OUTPUT"; 1475 1480 } else { … … 1489 1494 } 1490 1495 1491 # XXX: Is this code correct if ASTROM.SOURCE ne "PSASTRO.OUTPUT" 1496 # XXX: Is this code correct if ASTROM.SOURCE ne "PSASTRO.OUTPUT" ? 1492 1497 my $astromFile = $ipprc->filename($astromSource, $camRoot); 1493 1498 if (!$astromFile) { … … 1939 1944 my $now = gettimeofday(); 1940 1945 my $dtime_tool = $now - $start_tool; 1941 print "Time to run $program: $dtime_tool\n"; 1946 # XXX: shouldn't this be if $verbose? 1947 print "Time to run $program: $dtime_tool\n" ; # if $verbose; 1942 1948 1943 1949 my $buf = join "", @$stdout_buf; … … 1953 1959 1954 1960 my $dtime_parse = gettimeofday() - $start_parse; 1955 print "Time to parse results from $program: $dtime_parse\n"; 1961 # XXX: shouldn't this be if $verbose? 1962 print "Time to parse results from $program: $dtime_parse\n" ; # if $verbose; 1956 1963 1957 1964 return $results;
Note:
See TracChangeset
for help on using the changeset viewer.
