From 70f276100393810257cdc20eab9e96eab585fab7 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Mon, 1 Feb 2016 06:11:25 +0100 Subject: [PATCH] [reformat] reformatted indentation --- pylot/core/pick/utils.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pylot/core/pick/utils.py b/pylot/core/pick/utils.py index f4eb2282..d7584bff 100644 --- a/pylot/core/pick/utils.py +++ b/pylot/core/pick/utils.py @@ -942,12 +942,12 @@ def writephases(arrivals, fformat, filename): :param: arrivals :type: dictionary containing all phase information including - station ID, phase, first motion, weight (uncertainty), + station ID, phase, first motion, weight (uncertainty), .... :param: fformat :type: string, chosen file format (location routine), - choose between NLLoc, HYPO71, HYPOSAT, VELEST, + choose between NLLoc, HYPO71, HYPOSAT, VELEST, HYPOINVERSE, and hypoDD :param: filename, full path and name of phase file @@ -956,7 +956,7 @@ def writephases(arrivals, fformat, filename): if fformat == 'NLLoc': - print ("Writing phases to %s for NLLoc" % filename) + print ("Writing phases to %s for NLLoc" % filename) fid = open("%s" % filename, 'w') # write header fid.write('# EQEVENT: Label: EQ001 Loc: X 0.00 Y 0.00 Z 10.00 OT 0.00 \n') @@ -1017,7 +1017,7 @@ def writephases(arrivals, fformat, filename): fid.close() elif fformat == 'HYPO71': - print ("Writing phases to %s for HYPO71" % filename) + print ("Writing phases to %s for HYPO71" % filename) fid = open("%s" % filename, 'w') # write header fid.write(' EQ001\n') @@ -1025,8 +1025,8 @@ def writephases(arrivals, fformat, filename): if arrivals[key]['P']['weight'] < 4: Ponset = arrivals[key]['P']['mpp'] Sonset = arrivals[key]['S']['mpp'] - pweight = arrivals[key]['P']['weight'] - sweight = arrivals[key]['S']['weight'] + pweight = arrivals[key]['P']['weight'] + sweight = arrivals[key]['S']['weight'] fm = arrivals[key]['P']['fm'] if fm is None: fm = '-' @@ -1088,7 +1088,7 @@ def writephases(arrivals, fformat, filename): Ao)) fid.close() - + if __name__ == '__main__': import doctest