Ignore:
Timestamp:
Mar 24, 2015 9:42:08 AM (9 years ago)
Author:
mmh
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/uq/puq/puq_analyze.py

    r5166 r5168  
    11#!/usr/bin/env python
     2"""
     3Once submit has finished with the jobs, this function is called to have PUQ
     4process the results.
     5"""
    26import sys
    37import os
     
    812import xml.etree.ElementTree as xml
    913
    10 sys.stdout = open("analyze.out", 'w')
    11 sys.stderr = open("analyze.err", 'w')
    12 
     14# Redirect stdout and stderr to files for debugging.
     15# Append to the files created in get_params.py
     16sys.stdout = open("uq_debug.out", 'a')
     17sys.stderr = open("uq_debug.err", 'a')
    1318
    1419# Restore the state of a PUQ session from a HDF5 file.
     
    6166        pts += "%s %s\n" % (xarr[0], yp[0])
    6267    xy.text = pts
     68
    6369
    6470def dist(x1,y1, x2,y2, x3,y3): # x3,y3 is the point
Note: See TracChangeset for help on using the changeset viewer.