IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 5, 2007, 6:41:08 PM (19 years ago)
Author:
eugene
Message:

compiles without working transformation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpDataLoad.c

    r10946 r10952  
    1717    if (!input) {
    1818        psError(PSWARP_ERR_CONFIG, true, "Can't find input data!\n");
     19        return false;
     20    }
     21
     22    // select the output readout
     23    pmFPAview *outView = pmFPAviewAlloc (0);
     24    outView->chip = 0;
     25    outView->cell = 0;
     26    outView->readout = 0;
     27    pmReadout  *output = pmFPAfileThisReadout (config->files, outView, "PSWARP.OUTPUT");
     28    if (!output) {
     29        psError(PSWARP_ERR_CONFIG, true, "Can't find output data!\n");
    1930        return false;
    2031    }
     
    4556                if (! readout->data_exists) { continue; }
    4657
    47                 pswarpConvertReadout (readout, config);
     58                pswarpConvertReadout (output, readout, config);
    4859
    4960                pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
Note: See TracChangeset for help on using the changeset viewer.