Changeset 42001 for trunk/ippScripts/scripts/warp_overlap.pl
- Timestamp:
- Jan 26, 2022, 1:26:39 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/warp_overlap.pl (modified) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/warp_overlap.pl
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/IPP-308_move_backups_folder/ippScripts/scripts/warp_overlap.pl merged eligible /branches/czw_branch/20160809/ippScripts/scripts/warp_overlap.pl merged eligible /branches/czw_branch/20170908/ippScripts/scripts/warp_overlap.pl merged eligible /branches/eam_branches/ipp-20191011/ippScripts/scripts/warp_overlap.pl merged eligible /tags/ipp-ps1-20210510/ippScripts/scripts/warp_overlap.pl merged eligible /tags/ipp-ps1-20210708/ippScripts/scripts/warp_overlap.pl merged eligible /tags/ipp-ps2-20210802/ippScripts/scripts/warp_overlap.pl merged eligible /branches/ipp-259_genericise_backups/ippScripts/scripts/warp_overlap.pl 40910-40966
r41995 r42001 130 130 my @matchlist = get_overlaps($astromFile, $tess_dir_abs, $astromAccept,$maxCerror); # List of overlaps 131 131 if (! @matchlist) { 132 &my_die("Unable to perform dvoImageOverlaps: missing astrometry", $warp_id, $PS_EXIT_DATA_ERROR); 132 # OLD: &my_die("Unable to perform dvoImageOverlaps: missing astrometry", $warp_id, $PS_EXIT_DATA_ERROR); 133 warn("no overlaps found (bad astrometry); setting warpRun state to 'drop'\n"); 134 135 # Add the processed file to the database 136 unless ($no_update) { 137 my $command = "$warptool -updaterun -set_state drop -warp_id $warp_id"; # Command to run warptool 138 $command .= " -dbname $dbname" if defined $dbname; 139 140 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 141 run(command => $command, verbose => $verbose); 142 unless ($success) { 143 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 144 warn("Unable to perform warptool -updaterun -set_state fail: $error_code\n"); 145 exit($error_code); 146 } 147 } 148 exit(0); 133 149 } 134 150 # Match each of the imfiles to this list (the input images may be split, but the astrometry is not) … … 158 174 # Add the processed file to the database 159 175 unless ($no_update) { 160 my $command = "$warptool -updaterun -set_state drop "; # Command to run warptool176 my $command = "$warptool -updaterun -set_state drop -warp_id $warp_id"; # Command to run warptool 161 177 $command .= " -dbname $dbname" if defined $dbname; 162 178 -
Property svn:mergeinfo
set to (toggle deleted branches)
Note:
See TracChangeset
for help on using the changeset viewer.
