IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 4, 2007, 12:24:56 PM (19 years ago)
Author:
Paul Price
Message:

Resolving filenames so as to support Nebulous

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStac/src/ppStacCombine.c

    r11116 r13247  
    1616    psRegion region = psRegionSet(0, 0, 0, 0); // Region to read
    1717    for (int i = 0; i < inputs->n; i++) {
     18        psString resolved = pmConfigConvertFilename(options->inFiles->data[i], options->config, false);
    1819        psImage *image = psFitsReadImage(options->inFiles->data[i], region, 0);
    1920        if (!image) {
    20             psError(PS_ERR_IO, false, "Unable to read image %d\n", i);
     21            psError(PS_ERR_IO, false, "Unable to read image %s\n", resolved);
     22            psFree(resolved);
    2123            return false;
    2224        }
     25        psFree(resolved);
    2326        inputs->data[i] = image;
    2427    }
Note: See TracChangeset for help on using the changeset viewer.