IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 18, 2008, 12:35:11 PM (18 years ago)
Author:
Paul Price
Message:

Must provide a string for psAssert!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroLoadRefstars.c

    r18061 r18176  
    3030    // grab the PSASTRO.CATDIR name from the PSASTRO recipe
    3131    char *catdir_recipe = psMetadataLookupStr(&status, recipe, "PSASTRO.CATDIR");
    32     psAssert (catdir_recipe, NULL);
     32    psAssert (catdir_recipe, "Need a recipe for the catdir!");
    3333
    3434    // substitute abstract name with concrete name, if present in PSASTRO.CATDIRS
     
    4141    char *catdir = (catdir_virtual == NULL) ? catdir_recipe : catdir_virtual;
    4242
    43     // convert the uri to a real filename (ie, path://foobar) 
     43    // convert the uri to a real filename (ie, path://foobar)
    4444    psString CATDIR = pmConfigConvertFilename(catdir, config, false, false); // Resolved filename
    4545    PS_ASSERT (CATDIR, NULL);
     
    8484    // supply the max magnitude, the output format, and the photcode
    8585    if (strcasecmp (photcode, "NONE")) {
    86         psStringAppend (&getstarCommand, " -maglim %f", MAGmax);
     86        psStringAppend (&getstarCommand, " -maglim %f", MAGmax);
    8787    }
    8888    if (strcasecmp (photcode, "NONE")) {
    89         psStringAppend (&getstarCommand, " -photcode %s", photcode);
     89        psStringAppend (&getstarCommand, " -photcode %s", photcode);
    9090    }
    9191    psStringAppend (&getstarCommand, " -format %s", outformat);
Note: See TracChangeset for help on using the changeset viewer.