IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2014, 6:08:39 PM (12 years ago)
Author:
watersc1
Message:

ppBackgroundStack compiles. I know it's not useful yet, because I haven't implemented the 'apply' and 'save the outputs' parts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppBackground/src/ppBackgroundStackArguments.c

    r36579 r36580  
    4848    psMetadataAddStr(arguments, PS_LIST_TAIL, "-image", 0, "Filename of image (required)", NULL);
    4949    psMetadataAddStr(arguments, PS_LIST_TAIL, "-mask", 0,  "Filename of mask", NULL);
    50     psMetadataAddBool(arguments, PS_LIST_TAIL, "-fitOTAs", 0, "");
    51     psMetadataAddStr(arguments, PS_LIST_TAIL, "-OTApath", 0, "");
     50    psMetadataAddBool(arguments, PS_LIST_TAIL, "-fitOTAs", 0, "", false);
     51    psMetadataAddStr(arguments, PS_LIST_TAIL, "-OTApath", 0, "", NULL);
    5252
    5353    if (argc == 1 || !psArgumentParse(arguments, &argc, argv) || argc != 2) {
     
    5656
    5757    unsigned int numBad = 0; // Number of bad lines
    58     data->contents = psMetadataConfigRead(NULL, &numBad,psMetadataLookupStr(NULL, arguments, "-input"));
    59     if (!inputs || numBad > 0) {
     58    data->contents = psMetadataConfigRead(NULL, &numBad,psMetadataLookupStr(NULL, arguments, "-input"),false);
     59    if (!(data->contents) || numBad > 0) {
    6060      psError(PPBACKGROUND_ERR_CONFIG, false, "Unable to cleanly read MDC file with inputs.");
    6161      return(false);
Note: See TracChangeset for help on using the changeset viewer.