From 6597c881a6ae7cec3204a8a6809805c9b1c23b28 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Thu, 27 Aug 2015 15:42:51 +0200 Subject: [PATCH] reformatting code --- pylot/core/read/data.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pylot/core/read/data.py b/pylot/core/read/data.py index 5c9df06e..35332e9f 100644 --- a/pylot/core/read/data.py +++ b/pylot/core/read/data.py @@ -145,7 +145,7 @@ class Data(object): self.wfdata = self.getOriginalWFData().copy() self.dirty = False -def resetPicks(self): + def resetPicks(self): self.getEvtData().picks = [] def restituteWFData(self, invdlpath, streams=None): @@ -156,7 +156,7 @@ def resetPicks(self): for tr in st: # remove underscores - if tr.stats.station[3] == '_': + if tr.stats.station[3] == '_': tr.stats.station = tr.stats.station[0:3] dlp = '%s/*.dless' % invdlpath invp = '%s/*.xml' % invdlpath @@ -192,7 +192,7 @@ def resetPicks(self): vmsg = '{0}'.format(e) print vmsg else: - print "Trace has already been corrected!" + print "Trace has already been corrected!" # check for inventory-xml file if len(invfile) >= 1: print "Found inventory-xml file(s)!" @@ -220,7 +220,7 @@ def resetPicks(self): vmsg = '{0}'.format(e) print vmsg else: - print "Trace has already been corrected!" + print "Trace has already been corrected!" # check for RESP-file if len(respfile) >= 1: print "Found response file(s)!" @@ -248,7 +248,7 @@ def resetPicks(self): vmsg = '{0}'.format(e) print vmsg else: - print "Trace has already been corrected!" + print "Trace has already been corrected!" if len(respfile) < 1 and len(invfile) < 1 and len(dlfile) < 1: print "No dataless-SEED file,inventory-xml file nor RESP-file found!"