From a0633cafa41b96ba1f29be57dd9227eb960f0b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Mon, 26 Jun 2017 16:19:57 +0200 Subject: [PATCH] Prevent export of phases when tuning picker. --- autoPyLoT.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/autoPyLoT.py b/autoPyLoT.py index a5ca4035..61634842 100755 --- a/autoPyLoT.py +++ b/autoPyLoT.py @@ -354,13 +354,13 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even data.applyEVTData(evt, 'event') fnqml = '%s/PyLoT_%s' % (event, evID) data.exportEvent(fnqml, fnext='.xml', fcheck='manual') - # HYPO71 - hypo71file = '%s/PyLoT_%s_HYPO71_phases' % (event, evID) - hypo71.export(picks, hypo71file, parameter) - # HYPOSAT - hyposatfile = '%s/PyLoT_%s_HYPOSAT_phases' % (event, evID) - hyposat.export(picks, hyposatfile, parameter) if locflag == 1: + # HYPO71 + hypo71file = '%s/PyLoT_%s_HYPO71_phases' % (event, evID) + hypo71.export(picks, hypo71file, parameter) + # HYPOSAT + hyposatfile = '%s/PyLoT_%s_HYPOSAT_phases' % (event, evID) + hyposat.export(picks, hyposatfile, parameter) # VELEST velestfile = '%s/PyLoT_%s_VELEST_phases.cnv' % (event, evID) velest.export(picks, velestfile, parameter, evt)