diff --git a/autoPyLoT.py b/autoPyLoT.py index d3c28fe2..a02ff306 100755 --- a/autoPyLoT.py +++ b/autoPyLoT.py @@ -361,7 +361,7 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even evt.resource_id = ResourceIdentifier('smi:local/' + event_id) data.applyEVTData(evt, 'event') fnqml = '%s/PyLoT_%s' % (event, evID) - data.exportEvent(fnqml, fnext='.xml', fcheck='manual') + data.exportEvent(fnqml, fnext='.xml', fcheck=['auto', 'magnitude', 'origin']) if locflag == 1: # HYPO71 hypo71file = '%s/PyLoT_%s_HYPO71_phases' % (event, evID) diff --git a/pylot/core/io/data.py b/pylot/core/io/data.py index a3bd3da1..b7829638 100644 --- a/pylot/core/io/data.py +++ b/pylot/core/io/data.py @@ -188,10 +188,10 @@ class Data(object): def exportEvent(self, fnout, fnext='.xml', fcheck='auto', upperErrors=None): """ - :param fnout: - :param fnext: - :param fcheck: - :raise KeyError: + :param fnout: basename of file + :param fnext: file extension + :param fcheck: check and delete existing information + can be a str or a list of strings of ['manual', 'auto', 'origin', 'magnitude'] """ from pylot.core.util.defaults import OUTPUTFORMATS