- Timestamp:
- Jul 17, 2014, 12:36:19 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-ops-20130712
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/receive_file.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-ops-20130712
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ops-20130712/ippScripts/scripts/receive_file.pl
r31567 r37068 223 223 } elsif ($runType eq 'staticskyRun') { 224 224 $stage = 'sky'; 225 # XXX: This should be skycell, but the distribution code uses exposure226 225 $comp_name = 'skycell_id'; 227 # $current_component = $comp_name; 226 } elsif ($runType eq 'skycalRun') { 227 $stage = 'skycal'; 228 $comp_name = 'skycell_id'; 228 229 } else { 229 230 &my_die( "unexpected run type line found in $filename: $runType\n", $file_id, $PS_EXIT_UNKNOWN_ERROR); … … 238 239 } 239 240 240 if ($stage eq 'sky' ) {241 # the dbinfo file for a skyRun only has one component and it doesn't contain241 if ($stage eq 'sky' or $stage eq 'skycal') { 242 # the dbinfo file for staticskyRun and skycalRun only have one component and they don't contain 242 243 # skycell_id which is the way components are listed in the dirinfo file. 243 244 my @ids = keys %$components; 244 &my_die( "unexpected number of components scalar @ids found in staticsky dirinfo file\n", $file_id, $PS_EXIT_UNKNOWN_ERROR) if scalar @ids != 1; 245 my $nComponents = scalar @ids; 246 &my_die( "unexpected number of components $nComponents found in $stage dirinfo file\n", $file_id, $PS_EXIT_UNKNOWN_ERROR) if $nComponents != 1; 245 247 $current_component = $ids[0]; 246 248 }
Note:
See TracChangeset
for help on using the changeset viewer.
