Skip to content

Commit d25b89b

Browse files
committed
Add other parenthesis
1 parent 3ede1d2 commit d25b89b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/hiperseis_main_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
eval "$(conda shell.bash hook)"
4343
conda init
4444
conda activate hiperseis
45-
coverage run -m pytest ./tests/test_seismic/test_stream_processing.py
45+
coverage run -m pytest tests/test_seismic/test_stream_processing.py
4646
coverage xml
4747
- name: Upload coverage reports to Codecov
4848
uses: codecov/codecov-action@main

seismic/ml_classifier/data_harvester/cataloguing-ISC.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

@@ -104,12 +104,12 @@
104104
wf.write(saveDir+str(wfctr)+'_S.pkl',format="PICKLE")
105105
np.save(saveDir+str(wfctr)+'_S.npy',wf.data)
106106
succ=True
107-
print "Got a rotated horizontal waveform"
107+
print("Got a rotated horizontal waveform")
108108

109109

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

0 commit comments

Comments
 (0)