Changeset 35902
- Timestamp:
- Aug 7, 2013, 12:32:53 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_job_run.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_job_run.pl
r35901 r35902 155 155 if ($stage eq 'chip' or $stage eq 'warp') { 156 156 my $cam_id = $params->{cam_id}; 157 if (!$cam_id) { 158 carp "no cam_id found in job params\n"; 159 exit $PS_EXIT_PROG_ERROR; 160 } 157 161 ($calib_fd, $calibfile) = tempfile ("$outdir/calib.XXXX", UNLINK => !$save_temps); 158 162 close $calib_fd; 159 163 160 my $command = "$psgetcalibinfo --cam_id $cam_id --output $calibfile ";164 my $command = "$psgetcalibinfo --cam_id $cam_id --output $calibfile --dbname $params->{imagedb}"; 161 165 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 162 166 run(command => $command, verbose => $verbose); … … 184 188 $command .= " -stage $stage"; 185 189 $command .= " -forheader $calibfile" if $calibfile; 186 $command .= " -dbname $dbname" if $dbname;187 $command .= " -dbserver $dbserver" if $dbserver;190 # $command .= " -dbname $dbname" if $dbname; 191 # $command .= " -dbserver $dbserver" if $dbserver; 188 192 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 189 193 run(command => $command, verbose => $verbose);
Note:
See TracChangeset
for help on using the changeset viewer.
