Changeset 30804
- Timestamp:
- Mar 4, 2011, 3:17:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20110218/ippScripts/scripts/magic_destreak_cleanup.pl
- Property svn:mergeinfo set to
r30630 r30804 102 102 my $cam_path_base = $run->{cam_path_base}; 103 103 my $cam_reduction = $run->{cam_reduction}; 104 my $replace = $run->{re_place}; 104 105 $cam_reduction = 'DEFAULT' if !$cam_reduction or ($cam_reduction eq 'NULL'); 105 106 … … 111 112 112 113 &my_die("unexpected run state found: $state", $magic_ds_id, $PS_EXIT_CONFIG_ERROR) if $state ne "goto_cleaned"; 113 &my_die("clean not allowed for raw stage, use goto_restore", $magic_ds_id, $PS_EXIT_CONFIG_ERROR) if $stage eq "raw";114 &my_die("cleanup not allowed for raw stage, use goto_restore", $magic_ds_id, $PS_EXIT_CONFIG_ERROR) if $stage eq "raw" and $replace; 114 115 115 116 my $recipe_psastro; … … 217 218 # $bsources = $ipprc->filename("$name.SOURCES", $backup_path_base); 218 219 } 220 } elsif ($stage eq "raw") { 221 if ($backup_path_base) { 222 if ($backup_path_base =~ /fits/) { 223 $bimage = $backup_path_base; 224 } else { 225 $bimage = $backup_path_base . ".fits"; 226 } 227 } 219 228 } 220 229
Note:
See TracChangeset
for help on using the changeset viewer.
