Skip to content

Commit 2b8d13e

Browse files
committed
Add parenthesis
1 parent da61e7c commit 2b8d13e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

seismic/ml_classifier/data_harvester/cataloguing-ISC-noise.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
dist=float(pick[-1].strip())
4545
#get all S picks
4646
if ph=='S' and dist > 10:
47-
print ph
47+
print(ph)
4848
Sctr+=1
4949
ch=pick[1].strip()
5050

@@ -103,12 +103,12 @@
103103
wf.write(saveDir+str(wfctr)+'_N.pkl',format="PICKLE")
104104
np.save(saveDir+str(wfctr)+'_N.npy',wf.data)
105105
succ=True
106-
print "Got a rotated horizontal waveform"
106+
print("Got a rotated horizontal waveform")
107107

108108

109109
except Exception as e:
110110
#handle data missing
111-
print >> sys.stderr, e
111+
print(sys.stderr, e)
112112
stream=None
113113
else:
114114
wf=getWave(irisclient,st,ch,starttime,endtime,saveDir=saveDir)

0 commit comments

Comments
 (0)