IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 30, 2007, 12:00:03 PM (19 years ago)
Author:
Paul Price
Message:

Don't know why we need that call to pmFPACopyStructure --- it's already adding the source.

File:
1 edited

Legend:

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

    r11249 r11441  
    8383            }
    8484        } else {
    85           bool valid = false;
    86           if (!pmConfigValidateCameraFormat(&valid, options->format, header)) {
    87             psError (PS_ERR_UNKNOWN, false, "Error in config scripts\n");
    88             exit (PS_EXIT_CONFIG_ERROR);
    89           }
    90           if (!valid) {
    91             psLogMsg(__func__, PS_LOG_WARN, "Input file %s doesn't match camera format --- ignored.\n", name);
    92             // Kick it out
    93             psFree(header);
    94             data->in->data[i] = NULL;
    95             continue;
    96           }
     85          bool valid = false;
     86          if (!pmConfigValidateCameraFormat(&valid, options->format, header)) {
     87            psError (PS_ERR_UNKNOWN, false, "Error in config scripts\n");
     88            exit (PS_EXIT_CONFIG_ERROR);
     89          }
     90          if (!valid) {
     91            psLogMsg(__func__, PS_LOG_WARN, "Input file %s doesn't match camera format --- ignored.\n", name);
     92            // Kick it out
     93            psFree(header);
     94            data->in->data[i] = NULL;
     95            continue;
     96          }
    9797        }
    9898
     
    107107            pmFPAview *view = pmFPAAddSourceFromHeader(data->out, header, options->format);
    108108            psFree(view);
    109 #if 1
    110             pmFPACopyStructure(data->out, data->in->data[i], 1, 1);
    111 #endif
    112109        }
    113110        psFree(header);
Note: See TracChangeset for help on using the changeset viewer.