IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 25, 2014, 2:12:24 PM (12 years ago)
Author:
bills
Message:

updates from ipp/tags/ipp-20140114

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ippScripts/scripts/dist_bundle.pl

    r36457 r36555  
    496496    } elsif ($stage eq "stack") {
    497497        $type = $stack_cleaned{$rule};
    498     } elsif ($stage eq "sky" or $stage eq 'skycal' or $stage eq 'stack_summary') {
     498    } elsif ($stage eq "sky" or $stage eq 'skycal' or $stage eq 'stack_summary' or $stage eq 'ff') {
    499499        $type = $empty_cleaned{$rule};
    500500    } else {
     
    588588        # stack_summary stage does not use a config dump file.
    589589        return build_stack_summary_file_list($path_base, \@file_list);
     590    } elsif ($stage eq "ff") {
     591        if ($component eq 'summary') {
     592            # full force summary does not use a config dump file. Cobble together a file list
     593            return build_ff_summary_file_list($path_base, \@file_list);
     594        } else {
     595            $config_file_rule = "PSPHOT.SKY.CONFIG";
     596        }
    590597    } else {
    591598        &my_die("$stage is not a valid stage", $component, $PS_EXIT_CONFIG_ERROR);
     
    742749}
    743750
     751# psphotFullForceSummary does not produce a config dump file cobble together a file list
     752sub build_ff_summary_file_list {
     753    my ($path_base, $file_list) = @_;
     754
     755    my %cmf ;
     756    $cmf{file_rule} = "SOURCES";
     757    $cmf{name} = "$path_base.cmf";
     758    push @$file_list, \%cmf;
     759
     760    my %log;
     761    $log{file_rule} = "LOG";
     762    $log{name} = "$path_base.log";
     763    push @$file_list, \%log;
     764
     765    return $file_list;
     766}
     767
    744768sub my_die
    745769{
Note: See TracChangeset for help on using the changeset viewer.