IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 6, 2007, 12:21:51 PM (19 years ago)
Author:
Paul Price
Message:

Adding mask types. Default action when it couldn't determine the mask type was to assume bias; changed this so that it throws an error.

File:
1 edited

Legend:

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

    r13873 r15476  
    3535    // Construct camera in preparation for reading
    3636    pmConfig *config = ppMergeConfig(argc, argv);
     37    if (!config) {
     38        psErrorStackPrint(stderr, "Unable to get configuration.");
     39        exit(EXIT_FAILURE);
     40    }
    3741
    3842    // Set various tasks (define optional operations)
    3943    ppMergeOptions *options = ppMergeOptionsParse(config);
     44    if (!options) {
     45        psErrorStackPrint(stderr, "Unable to parse options.");
     46        exit(EXIT_FAILURE);
     47    }
    4048
    4149    // Check the inputs
    4250    ppMergeData *data = ppMergeCheckInputs(options, config);
    4351    if (!data) {
    44         psError(PS_ERR_IO, false, "Not enough valid input files.\n");
     52        psErrorStackPrint(stderr, "Not enough valid input files.");
    4553        exit(EXIT_FAILURE);
    4654    }
Note: See TracChangeset for help on using the changeset viewer.