IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36142


Ignore:
Timestamp:
Sep 19, 2013, 4:12:12 PM (13 years ago)
Author:
bills
Message:

correct the prefix in the filenames that are copied rather than
created by ppstamp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_job_run.pl

    r36135 r36142  
    387387        my $backmdl_file = $params->{backmdl} if ($options & $PSTAMP_SELECT_BACKMDL);
    388388        my $pattern_file = $params->{pattern} if ($options & $PSTAMP_SELECT_BACKMDL);
     389        my $filter = $params->{filter};
     390        $filter = ' ' if !$filter;
     391        $filter = substr $filter, 0, 1;
    389392        my $cmf_file;
    390393#        if ($stage ne 'chip') {
     
    399402            if (!$therest or !$rownum or !$jobnum);
    400403
    401         my $prefix = "${rownum}_${jobnum}_";
     404        # XXX: Here we are assuming the form of the output file names
     405        # if we change this in pstampparse we'll need to remember ....
     406        # (the last time I forgot)
     407        my $prefix = "${rownum}_${jobnum}_${filter}_";
    402408
    403409        if ($cmf_file) {
Note: See TracChangeset for help on using the changeset viewer.