[update] some bugfixes relating array_maps, removed some unneccessary files
This commit is contained in:
1 parent
e94129ec36
commit
18aa67e5ba
11 files changed
+36
-5184
No files matched your search
@@ -2645,6 +2645,10 @@ class PickDlg(QDialog):
|
||||
quality = get_quality_class(picks['spe'], self.parameter['timeerrorsS'])
|
||||
phaseID = 'S'
|
||||
|
||||
# if no mpp is there, return
|
||||
if not picks['mpp']:
|
||||
return
|
||||
|
||||
mpp = picks['mpp'] - self.getStartTime()
|
||||
if picks['epp'] and picks['lpp'] and not textOnly:
|
||||
epp = picks['epp'] - self.getStartTime()
|
||||
@@ -2824,6 +2828,8 @@ class PickDlg(QDialog):
|
||||
for phase in picks:
|
||||
if not type(picks[phase]) in [dict, AttribDict]:
|
||||
continue
|
||||
if not picks[phase]['mpp']:
|
||||
continue
|
||||
pick_rel = picks[phase]['mpp'] - starttime
|
||||
# add relative pick time, phaseID and picktype index
|
||||
X.append((pick_rel, phase, picktype))
|
||||
|
||||
Reference in new issue
Block a user