IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 27, 2007, 1:50:30 PM (19 years ago)
Author:
jhoblitt
Message:

don't send informational messages to the error stack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/dettool.c

    r12066 r12093  
    196196    }
    197197    if (!psArrayLength(output)) {
    198         psError(PS_ERR_UNKNOWN, false, "no pending rawExp rows found");
     198        psTrace("dettool", PS_LOG_INFO, "no rows found");
    199199        psFree(output);
    200200        return true;
     
    11171117    }
    11181118    if (!psArrayLength(detrendExps)) {
    1119         psError(PS_ERR_UNKNOWN, true, "no rawExp rows found");
     1119        psTrace("dettool", PS_LOG_INFO, "no rows found");
    11201120        psFree(detrendExps);
    11211121        psFree(registered);
     
    16861686
    16871687    if (!psArrayLength(runs)) {
    1688         psError(PS_ERR_UNKNOWN, false, "no detRun rows found");
     1688        psTrace("dettool", PS_LOG_INFO, "no rows found");
    16891689        psFree(runs);
    16901690        return true;
     
    17691769    }
    17701770    if (!psArrayLength(output)) {
    1771         // XXX check psError here
    1772         psError(PS_ERR_UNKNOWN, false, "no childless detRun rows found");
     1771        psTrace("dettool", PS_LOG_INFO, "no rows found");
    17731772        psFree(output);
    17741773        return true;
     
    18521851    }
    18531852    if (!psArrayLength(output)) {
    1854         // XXX check psError here
    1855         psError(PS_ERR_UNKNOWN, false, "no pending rawExp rows found");
     1853        psTrace("dettool", PS_LOG_INFO, "no rows found");
    18561854        psFree(output);
    18571855        return true;
     
    19211919    }
    19221920    if (!psArrayLength(output)) {
    1923         // XXX check psError here
    1924         psError(PS_ERR_UNKNOWN, false, "no rawImfile rows found");
     1921        psTrace("dettool", PS_LOG_INFO, "no rows found");
    19251922        psFree(output);
    19261923        return true;
     
    20212018    }
    20222019    if (!psArrayLength(output)) {
    2023         // XXX check psError here
    2024         psError(PS_ERR_UNKNOWN, false, "no rawImfile rows found");
     2020        psTrace("dettool", PS_LOG_INFO, "no rows found");
    20252021        psFree(output);
    20262022        return true;
     
    23362332    }
    23372333    if (!psArrayLength(output)) {
    2338         // XXX check psError here
    2339         psError(PS_ERR_UNKNOWN, false, "no pending rawExp rows found");
     2334        psTrace("dettool", PS_LOG_INFO, "no rows found");
    23402335        psFree(output);
    23412336        return true;
     
    24892484    }
    24902485    if (!psArrayLength(output)) {
    2491         // XXX check psError here
    2492         psError(PS_ERR_UNKNOWN, false, "no pending rawExp rows found");
     2486        psTrace("dettool", PS_LOG_INFO, "no rows found");
     2487        psFree(output);
    24932488        return true;
    24942489    }
     
    25722567    }
    25732568    if (!psArrayLength(output)) {
    2574         // XXX check psError here
    2575         psError(PS_ERR_UNKNOWN, false, "no detProcessedExp rows found");
     2569        psTrace("dettool", PS_LOG_INFO, "no rows found");
    25762570        psFree(output);
    25772571        return true;
     
    26932687    }
    26942688    if (!psArrayLength(output)) {
    2695         // XXX check psError here
    2696         psError(PS_ERR_UNKNOWN, false, "no stackable detProcessedImfiles found");
     2689        psTrace("dettool", PS_LOG_INFO, "no rows found");
    26972690        psFree(output);
    26982691        return true;
     
    28012794    }
    28022795    if (!psArrayLength(output)) {
    2803         // XXX check psError here
    2804         psError(PS_ERR_UNKNOWN, false, "no detProcessedImfile rows found");
     2796        psTrace("dettool", PS_LOG_INFO, "no rows found");
    28052797        psFree(output);
    28062798        return true;
     
    30353027    }
    30363028    if (!psArrayLength(output)) {
    3037         // XXX check psError here
    3038         psError(PS_ERR_UNKNOWN, false, "no detStackedImfile rows found");
     3029        psTrace("dettool", PS_LOG_INFO, "no rows found");
    30393030        psFree(output);
    30403031        return true;
     
    31613152    }
    31623153    if (!psArrayLength(output)) {
    3163         // XXX check psError here
    3164         psError(PS_ERR_UNKNOWN, false, "no detNormalizedStatImfile rows found");
     3154        psTrace("dettool", PS_LOG_INFO, "no rows found");
    31653155        psFree(output);
    31663156        return true;
     
    32273217    }
    32283218    if (!psArrayLength(output)) {
    3229         // XXX check psError here
    3230         psError(PS_ERR_UNKNOWN, false, "no detStackedImfile rows found");
     3219        psTrace("dettool", PS_LOG_INFO, "no rows found");
    32313220        psFree(output);
    32323221        return true;
     
    33823371    }
    33833372    if (!psArrayLength(output)) {
    3384         // XXX check psError here
    3385         psError(PS_ERR_UNKNOWN, false, "no normalizable detNormalizedStatImfiles found");
     3373        psTrace("dettool", PS_LOG_INFO, "no rows found");
    33863374        psFree(output);
    33873375        return true;
     
    35933581    }
    35943582    if (!psArrayLength(output)) {
    3595         // XXX check psError here
    3596         psError(PS_ERR_UNKNOWN, false, "no pending detNormalizedStatImfile rows found");
     3583        psTrace("dettool", PS_LOG_INFO, "no rows found");
    35973584        psFree(output);
    35983585        return true;
     
    37223709    }
    37233710    if (!psArrayLength(output)) {
    3724         // XXX check psError here
    3725         psError(PS_ERR_UNKNOWN, false, "no rawImfile rows found");
     3711        psTrace("dettool", PS_LOG_INFO, "no rows found");
    37263712        psFree(output);
    37273713        return true;
     
    38733859    }
    38743860    if (!psArrayLength(output)) {
    3875         // XXX check psError here
    3876         psError(PS_ERR_UNKNOWN, false, "no complete detNormalizedImfile exp found");
     3861        psTrace("dettool", PS_LOG_INFO, "no rows found");
    38773862        psFree(output);
    38783863        return true;
     
    39663951    }
    39673952    if (!psArrayLength(output)) {
    3968         // XXX check psError here
    3969         psError(PS_ERR_UNKNOWN, false, "no detNormalizedExp rows found");
     3953        psTrace("dettool", PS_LOG_INFO, "no rows found");
    39703954        psFree(output);
    39713955        return true;
     
    41804164    }
    41814165    if (!psArrayLength(output)) {
    4182         // XXX check psError here
    4183         psError(PS_ERR_UNKNOWN, false, "no residable detNormalizedImfileis found");
     4166        psTrace("dettool", PS_LOG_INFO, "no rows found");
    41844167        psFree(output);
    41854168        return true;
     
    42774260    }
    42784261    if (!psArrayLength(output)) {
    4279         // XXX check psError here
    4280         psError(PS_ERR_UNKNOWN, false, "no detNormalizedImfile rows found");
     4262        psTrace("dettool", PS_LOG_INFO, "no rows found");
    42814263        psFree(output);
    42824264        return true;
     
    46604642    }
    46614643    if (!psArrayLength(output)) {
    4662         // XXX check psError here
    4663         psError(PS_ERR_UNKNOWN, false, "no detResidImfile rows found");
     4644        psTrace("dettool", PS_LOG_INFO, "no rows found");
    46644645        psFree(output);
    46654646        return true;
     
    47994780    }
    48004781    if (!psArrayLength(output)) {
    4801         // XXX check psError here
    4802         psError(PS_ERR_UNKNOWN, false, "no residExpable detResidImfiles found");
     4782        psTrace("dettool", PS_LOG_INFO, "no rows found");
    48034783        psFree(output);
    48044784        return true;
     
    51815161    }
    51825162    if (!psArrayLength(output)) {
    5183         // XXX check psError here
    5184         psError(PS_ERR_UNKNOWN, false, "no detResidExp rows found");
     5163        psTrace("dettool", PS_LOG_INFO, "no rows found");
    51855164        psFree(output);
    51865165        return true;
     
    52965275    }
    52975276    if (!psArrayLength(output)) {
    5298         // XXX check psError here
    5299         psError(PS_ERR_UNKNOWN, false, "no completed det runs found");
     5277        psTrace("dettool", PS_LOG_INFO, "no rows found");
    53005278        psFree(output);
    53015279        return true;
     
    55775555    }
    55785556    if (!psArrayLength(output)) {
    5579         // XXX check psError here
    5580         psError(PS_ERR_UNKNOWN, false, "no pending completed detrun iterations found");
     5557        psTrace("dettool", PS_LOG_INFO, "no rows found");
    55815558        psFree(output);
    55825559        return true;
     
    57565733    }
    57575734    if (!psArrayLength(output)) {
    5758         psError(PS_ERR_UNKNOWN, false, "no detRunSummary rows found");
     5735        psTrace("dettool", PS_LOG_INFO, "no rows found");
    57595736        psFree(output);
    57605737        return true;
     
    58875864    }
    58885865    if (!psArrayLength(output)) {
    5889         // XXX check psError here
    5890         psError(PS_ERR_UNKNOWN, false, "no completed detrun iterations found");
     5866        psTrace("dettool", PS_LOG_INFO, "no rows found");
    58915867        psFree(output);
    58925868        return true;
Note: See TracChangeset for help on using the changeset viewer.