IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

VERSION 0.0.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/jhoblitt/ippdb/tests/pop.c

    r8084 r8089  
    284284        psS32           imfiles;
    285285        char            filter[256];
    286         char            class[256];
    287286        psF32           airmass;
    288287        psF64           ra;
     
    296295        }
    297296
    298         if (!rawDetrendExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, (char **)&class, &airmass, &ra, &dec, &exp_time, &background)) {
    299             exit(EXIT_FAILURE);
    300         }
    301 
    302         psDBCleanup(dbh);
    303     }
    304 
    305     {
    306         psDB            *dbh;
    307         char            exp_id[256];
    308         char            camera[256];
    309         char            telescope[256];
    310         char            exp_type[256];
    311         psS32           imfiles;
    312         char            filter[256];
    313         char            class[256];
     297        if (!rawDetrendExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &dec, &exp_time, &background)) {
     298            exit(EXIT_FAILURE);
     299        }
     300
     301        psDBCleanup(dbh);
     302    }
     303
     304    {
     305        psDB            *dbh;
     306        char            exp_id[256];
     307        char            camera[256];
     308        char            telescope[256];
     309        char            exp_type[256];
     310        psS32           imfiles;
     311        char            filter[256];
    314312        psF32           airmass;
    315313        psF64           ra;
     
    323321        }
    324322
    325         if (!rawScienceExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, (char **)&class, &airmass, &ra, &dec, &exp_time, &background)) {
     323        if (!rawScienceExpPop(dbh, (char **)&exp_id, (char **)&camera, (char **)&telescope, (char **)&exp_type, &imfiles, (char **)&filter, &airmass, &ra, &dec, &exp_time, &background)) {
    326324            exit(EXIT_FAILURE);
    327325        }
Note: See TracChangeset for help on using the changeset viewer.