IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4248


Ignore:
Timestamp:
Jun 13, 2005, 6:11:33 PM (21 years ago)
Author:
jhoblitt
Message:

add fits writing
typo fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/selectrowsfits.tt

    r4241 r4248  
    1010
    1111    // strip index column
    12     for (i = 0; i > rowSet->n; i++) {
     12    for (i = 0; i < rowSet->n; i++) {
    1313        if (!psMetadataRemove((psMetadata *)rowSet->data[i], 0, [% namespace FILTER upper %]_INDEX_NAME)) {
    1414            // psError(); something bad happened
     
    1919
    2020    // output to fits
     21    if (!psFitsWriteTable(fits, NULL, rowSet)) {
     22        // psError(); something bad happened
     23        psFree(rowSet);
     24        return false;
     25    }
    2126
    2227    psFree(rowSet);
Note: See TracChangeset for help on using the changeset viewer.