Real user info in manual pick dictionary. Additional information in manual pick dictionary.
This commit is contained in:
parent
ea4cc6a1a3
commit
b235733d2b
@ -6,6 +6,7 @@ Created on Wed Mar 19 11:27:35 2014
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import getpass
|
||||||
import warnings
|
import warnings
|
||||||
import copy
|
import copy
|
||||||
import datetime
|
import datetime
|
||||||
@ -518,7 +519,8 @@ class PickDlg(QDialog):
|
|||||||
self.rotate = rotate
|
self.rotate = rotate
|
||||||
self.components = 'ZNE'
|
self.components = 'ZNE'
|
||||||
settings = QSettings()
|
settings = QSettings()
|
||||||
self._user = settings.value('user/Login', 'anonymous')
|
pylot_user = getpass.getuser()
|
||||||
|
self._user = settings.value('user/Login', pylot_user)
|
||||||
if picks:
|
if picks:
|
||||||
self.picks = picks
|
self.picks = picks
|
||||||
else:
|
else:
|
||||||
@ -960,7 +962,8 @@ class PickDlg(QDialog):
|
|||||||
|
|
||||||
# save pick times for actual phase
|
# save pick times for actual phase
|
||||||
phasepicks = dict(epp=epp, lpp=lpp, mpp=mpp, spe=spe,
|
phasepicks = dict(epp=epp, lpp=lpp, mpp=mpp, spe=spe,
|
||||||
picker=self.getUser())
|
picker=self.getUser(), channel=channel,
|
||||||
|
network=wfdata[0].stats.network)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
oldphasepick = self.picks[phase]
|
oldphasepick = self.picks[phase]
|
||||||
|
Loading…
Reference in New Issue
Block a user