IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24909


Ignore:
Timestamp:
Jul 22, 2009, 10:51:12 PM (17 years ago)
Author:
eugene
Message:

add options to limit processing to single chips and cells

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeScaleZero.c

    r24782 r24909  
    6767        pmChip *chip;                   ///< Chip of interest
    6868        while ((chip = pmFPAviewNextChip(view, fpa, 1))) {
    69             if (!chip->file_exists) {
    70                 continue;
    71             }
     69            if (!chip->process || !chip->file_exists) {
     70                continue;
     71            }
    7272            if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) {
    7373                goto ERROR;
     
    7676            pmCell *cell;               ///< Cell of interest
    7777            while ((cell = pmFPAviewNextCell(view, fpa, 1))) {
    78                 if (!cell->file_exists) {
    79                     continue;
    80                 }
     78                if (!cell->process || !cell->file_exists) {
     79                    continue;
     80                }
    8181                if (!pmFPAfileIOChecks(config, view, PM_FPA_BEFORE)) {
    8282                    goto ERROR;
     
    8989                // skip cells with video data
    9090                if (cell->readouts->n > 1) {
    91                   // psError(PS_ERR_BAD_PARAMETER_VALUE, true, "File %d chip %d cell %d contains more than one readout (%ld)", i, view->chip, view->cell, cell->readouts->n);
    92                   // goto ERROR;
     91                    // psError(PS_ERR_BAD_PARAMETER_VALUE, true, "File %d chip %d cell %d contains more than one readout (%ld)", i, view->chip, view->cell, cell->readouts->n);
     92                    // goto ERROR;
    9393                  psWarning("File %d chip %d cell %d contains more than one readout (%ld), skipping", i, view->chip, view->cell, cell->readouts->n);
    9494                  continue;
Note: See TracChangeset for help on using the changeset viewer.