IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 11, 2007, 3:35:04 PM (19 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.73

File:
1 edited

Legend:

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

    r10753 r11045  
    258258        }
    259259
    260         if (!rawDetrendExpInsertFits(dbh, fits)) {
    261             exit(EXIT_FAILURE);
    262         }
    263 
    264         if (!psFitsClose(fits)) {
    265             exit(EXIT_FAILURE);
    266         }
    267 
    268         psDBCleanup(dbh);
    269     }
    270 
    271     {
    272         psDB            *dbh;
    273         psFits          *fits;
    274 
    275         dbh = psDBInit("localhost", "test", NULL, "test");
    276         if (!dbh) {
    277             exit(EXIT_FAILURE);
    278         }
    279 
    280         // open a temp
    281         fits = psFitsOpen(TMP_FILENAME, "r");
    282         if (!fits) {
    283             exit(EXIT_FAILURE);
    284         }
    285 
    286         if (!rawScienceExpInsertFits(dbh, fits)) {
     260        if (!rawExpInsertFits(dbh, fits)) {
    287261            exit(EXIT_FAILURE);
    288262        }
Note: See TracChangeset for help on using the changeset viewer.