IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2006, 4:31:35 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.29

File:
1 edited

Legend:

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

    r7461 r8368  
    700700        }
    701701
     702        if (!detNormalizedStatImfilePopFits(dbh, fits, 1)) {
     703            exit(EXIT_FAILURE);
     704        }
     705
     706        if (!psFitsClose(fits)) {
     707            exit(EXIT_FAILURE);
     708        }
     709
     710        psDBCleanup(dbh);
     711    }
     712
     713    {
     714        psDB            *dbh;
     715        psFits          *fits;
     716
     717        dbh = psDBInit("localhost", "test", NULL, "test");
     718        if (!dbh) {
     719            exit(EXIT_FAILURE);
     720        }
     721
     722        // allocate a temp
     723        fits = psFitsOpen(TMP_FILENAME, "w");
     724        if (!fits) {
     725            exit(EXIT_FAILURE);
     726        }
     727
    702728        if (!detNormalizedImfilePopFits(dbh, fits, 1)) {
    703729            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.