From 1b3c29c47ee03a5dd416de709205df800a5e6d1c Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Tue, 4 Jul 2017 10:31:23 +0200 Subject: [PATCH] [bugfix] missing comma in dictionary definition, also corrected misspelling --- pylot/core/io/default_parameters.py | 12 ++++++------ pylot/core/io/inputs.py | 2 +- pylot/core/util/widgets.py | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pylot/core/io/default_parameters.py b/pylot/core/io/default_parameters.py index cd078812..9285f1e9 100644 --- a/pylot/core/io/default_parameters.py +++ b/pylot/core/io/default_parameters.py @@ -278,14 +278,14 @@ defaults = {'rootpath': {'type': str, 'value': 1.0}, 'WAscaling': {'type': (float, float, float), - 'tooltip': 'Scaling relation (log(Ao)+Alog(r)+Br+C) of Wood-Anderson amplitude Ao [nm] \ - If zeros are set, original Richter magnitude is calculated!', - 'value': (0., 0., 0.)}, + 'tooltip': 'Scaling relation (log(Ao)+Alog(r)+Br+C) of Wood-Anderson amplitude Ao [nm] \ + If zeros are set, original Richter magnitude is calculated!', + 'value': (0., 0., 0.)}, 'magscaling': {'type': (float, float), - 'tooltip': 'Scaling relation for derived local magnitude [a*Ml+b]. \ - If zeros are set, no scaling of network magnitude is applied!', - 'value': (0., 0.)} + 'tooltip': 'Scaling relation for derived local magnitude [a*Ml+b]. \ + If zeros are set, no scaling of network magnitude is applied!', + 'value': (0., 0.)}, 'minfreq': {'type': float, 'tooltip': 'Lower filter frequency', diff --git a/pylot/core/io/inputs.py b/pylot/core/io/inputs.py index a4628188..aad56f78 100644 --- a/pylot/core/io/inputs.py +++ b/pylot/core/io/inputs.py @@ -238,7 +238,7 @@ class PylotParameter(object): self.write_section(fid_out, self.get_main_para_names()['localmag'], 'settings local magnitude', separator) self.write_section(fid_out, self.get_main_para_names()['filter'], - 'filter settings', seperator) + 'filter settings', separator) self.write_section(fid_out, self.get_main_para_names()['pick'], 'common settings picker', separator) fid_out.write(('#special settings for calculating CF#\n'+ diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 1cdf7ba4..00950147 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -2263,10 +2263,10 @@ class PylotParaBox(QtGui.QWidget): self.parameter.get_special_para_names()['quality'], 4) self.add_tab(self._advanced_layout, 'Advanced Settings') - # def gen_h_seperator(self): - # seperator = QtGui.QFrame() - # seperator.setFrameShape(QtGui.QFrame.HLine) - # return seperator + # def gen_h_separator(self): + # separator = QtGui.QFrame() + # separator.setFrameShape(QtGui.QFrame.HLine) + # return separator # def gen_headline(self, text): # label=QtGui.QLabel(text)