[bugs fixed and found] dataprocessing doesn't work as expected, np.bool_ substituted by bool

This commit is contained in:
sebastianw committed 2016-09-15 14:51:11 +02:00
1 parent 15700b074d
commit c8d8525c11
2 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -353,7 +353,7 @@ def calcsourcespec(wfstream, onset, inventory, vp, delta, azimuth, incidence, qp
wf_copy = wfstream.copy()
[cordat, restflag] = restitute_data(wf_copy, inventory)
if restflag == 1:
if restflag is True:
zdat = cordat.select(component="Z")
if len(zdat) == 0:
zdat = cordat.select(component="3")