IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19214


Ignore:
Timestamp:
Aug 26, 2008, 10:42:00 AM (18 years ago)
Author:
Paul Price
Message:

Adding function to print ds9 region file for sources --- useful for debugging.

Location:
trunk/ppStack/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStack.h

    r18650 r19214  
    8787    );
    8888
     89/// Print sources into a ds9 regions file
     90void ppStackSourcesPrint(const psArray *sources ///< Sources to print
     91    );
    8992
    9093#endif
  • trunk/ppStack/src/ppStackLoop.c

    r19199 r19214  
    324324                }
    325325                indSources->data[index] = psMemIncrRefCounter(sources);
     326#ifdef TESTING
     327                ppStackSourcesPrint(sources);
     328#endif
    326329                sourceLists = ppStackSourceListAdd(sourceLists, sources, config);
    327330                if (!sourceLists) {
     
    374377                return false;
    375378            }
     379#ifdef TESTING
     380            ppStackSourcesPrint(globalSources);
     381#endif
    376382        }
    377383
Note: See TracChangeset for help on using the changeset viewer.