[change] data._new moved to applyEVTData
This commit is contained in:
parent
ab260e45f2
commit
a90e0bd78b
@ -351,7 +351,6 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
|
|||||||
# and fault mechanism calculation routines
|
# and fault mechanism calculation routines
|
||||||
# ObsPy event object
|
# ObsPy event object
|
||||||
data.applyEVTData(picks)
|
data.applyEVTData(picks)
|
||||||
data._new = False
|
|
||||||
if evt is not None:
|
if evt is not None:
|
||||||
data.applyEVTData(evt, 'event')
|
data.applyEVTData(evt, 'event')
|
||||||
fnqml = '%s/PyLoT_%s' % (event, evID)
|
fnqml = '%s/PyLoT_%s' % (event, evID)
|
||||||
|
@ -363,6 +363,8 @@ class Data(object):
|
|||||||
'event': applyEvent}
|
'event': applyEvent}
|
||||||
|
|
||||||
applydata[typ](data)
|
applydata[typ](data)
|
||||||
|
self._new = False
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class GenericDataStructure(object):
|
class GenericDataStructure(object):
|
||||||
|
Loading…
Reference in New Issue
Block a user