# Path: ugali/utils/logger.py
# class SpecialFormatter(logging.Formatter):
#     FORMATS = {'DEFAULT'       : "%(message)s",
#                logging.WARNING : "WARNING: %(message)s",
#                logging.ERROR   : "ERROR: %(message)s"}
#     def format(self, record):
# def file_found(filename,force):


import ugali.utils.skymap
from ugali.utils.logger import logger
    from optparse import OptionParser
#!/usr/bin/env python


if __name__ == "__main__":
    usage = "Usage: %prog  [options] results1.fits results2.fits ... "
    description = "Script for merging multiple results files."
    parser = OptionParser(usage=usage,description=description)
    parser.add_option('-o','--outfile',default="merged.fits")
    parser.add_option('-v','--verbose',action='store_true')
    (opts, args) = parser.parse_args()

# Path: ugali/utils/logger.py
# class SpecialFormatter(logging.Formatter):
#     FORMATS = {'DEFAULT'       : "%(message)s",
#                logging.WARNING : "WARNING: %(message)s",
#                logging.ERROR   : "ERROR: %(message)s"}
#     def format(self, record):
# def file_found(filename,force):


# Path: ugali/scratch/MergeResults.py
import ugali.utils.skymap
from ugali.utils.logger import logger
    from optparse import OptionParser

#!/usr/bin/env python


if __name__ == "__main__":
    usage = "Usage: %prog  [options] results1.fits results2.fits ... "
    description = "Script for merging multiple results files."
    parser = OptionParser(usage=usage,description=description)
    parser.add_option('-o','--outfile',default="merged.fits")
    parser.add_option('-v','--verbose',action='store_true')
    (opts, args) = parser.parse_args()

    if opts.verbose: logger.setLevel(logger.DEBUG)