Changeset 32431
- Timestamp:
- Sep 21, 2011, 3:02:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20110622/ippScripts/scripts/lap_science.pl
r32429 r32431 233 233 } 234 234 if ($chip_magicDS_id == 0) { 235 return(&remake_this_exposure($exposure));235 # return(&remake_this_exposure($exposure)); 236 236 } 237 237 … … 275 275 &my_die("Unable to perform chiptool -setimfiletoupdate: $error_code", $exposure->{exp_id}, $data_group); 276 276 } 277 278 ($success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 279 run(command => $magicDS_update_cmd, verbose => $verbose); 280 unless ($success) { 281 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 282 &my_die("Unable to perform magicdstool -setfiletoupdate: $error_code", $exposure->{exp_id}, $data_group); 277 if ($chip_magicDS_id != 0) { 278 ($success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 279 run(command => $magicDS_update_cmd, verbose => $verbose); 280 unless ($success) { 281 $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR); 282 &my_die("Unable to perform magicdstool -setfiletoupdate: $error_code", $exposure->{exp_id}, $data_group); 283 } 283 284 } 284 285 … … 1183 1184 my $exposures = shift; 1184 1185 foreach my $exposure (@$exposures) { 1185 unless ($exposure->{private} == 1) { 1186 if ($exposure->{private} == 1) { # This can probably be relaxed since we can update an undestreaked warp. 1187 $exposure->{active} = 1; 1188 } 1189 else { 1186 1190 $exposure->{active} = 0; 1187 update_this_exposure($exposure);1188 }1191 } 1192 update_this_exposure($exposure); 1189 1193 } 1190 1194 }
Note:
See TracChangeset
for help on using the changeset viewer.
