IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 2, 2006, 1:49:11 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.39

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/tests/popfits.c

    r8665 r9107  
    674674        }
    675675
     676        if (!detProcessedExpPopFits(dbh, fits, 1)) {
     677            exit(EXIT_FAILURE);
     678        }
     679
     680        if (!psFitsClose(fits)) {
     681            exit(EXIT_FAILURE);
     682        }
     683
     684        psDBCleanup(dbh);
     685    }
     686
     687    {
     688        psDB            *dbh;
     689        psFits          *fits;
     690
     691        dbh = psDBInit("localhost", "test", NULL, "test");
     692        if (!dbh) {
     693            exit(EXIT_FAILURE);
     694        }
     695
     696        // allocate a temp
     697        fits = psFitsOpen(TMP_FILENAME, "w");
     698        if (!fits) {
     699            exit(EXIT_FAILURE);
     700        }
     701
    676702        if (!detStackedImfilePopFits(dbh, fits, 1)) {
    677703            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.