UWKepler / uwpyKepler

2 stars 1 forks source link

test_scripts; add a script to run all functions in iodb.py for a single KID #21

Closed pkundurthy closed 13 years ago

pkundurthy commented 13 years ago

This script will be part of a set of scripts which serve to check if everything is running smoothly. To be used after changes are made to databases or other parts of the code.

Make sure all parameter options are explored.


import uwpyKepler as kep
KID = sys.argv[1]

try:
    1. run KID through 1st function in iodb.py
    2. run KID through 2nd function in iodb.py
    ... and so on
except:
    print Exception to file
    print '# ', KID to file
pkundurthy commented 13 years ago

look at debug.py to see how exceptions are printed to file

pkundurthy commented 13 years ago

not needed; the pipeline test functions take care of this