[bugfix] missing comma in dictionary definition, also corrected misspelling

This commit is contained in:
Marcel Paffrath 2017-07-04 10:31:23 +02:00
parent 5bc9f14074
commit 1b3c29c47e
3 changed files with 11 additions and 11 deletions

View File

@ -285,7 +285,7 @@ defaults = {'rootpath': {'type': str,
'magscaling': {'type': (float, float), 'magscaling': {'type': (float, float),
'tooltip': 'Scaling relation for derived local magnitude [a*Ml+b]. \ 'tooltip': 'Scaling relation for derived local magnitude [a*Ml+b]. \
If zeros are set, no scaling of network magnitude is applied!', If zeros are set, no scaling of network magnitude is applied!',
'value': (0., 0.)} 'value': (0., 0.)},
'minfreq': {'type': float, 'minfreq': {'type': float,
'tooltip': 'Lower filter frequency', 'tooltip': 'Lower filter frequency',

View File

@ -238,7 +238,7 @@ class PylotParameter(object):
self.write_section(fid_out, self.get_main_para_names()['localmag'], self.write_section(fid_out, self.get_main_para_names()['localmag'],
'settings local magnitude', separator) 'settings local magnitude', separator)
self.write_section(fid_out, self.get_main_para_names()['filter'], 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'], self.write_section(fid_out, self.get_main_para_names()['pick'],
'common settings picker', separator) 'common settings picker', separator)
fid_out.write(('#special settings for calculating CF#\n'+ fid_out.write(('#special settings for calculating CF#\n'+

View File

@ -2263,10 +2263,10 @@ class PylotParaBox(QtGui.QWidget):
self.parameter.get_special_para_names()['quality'], 4) self.parameter.get_special_para_names()['quality'], 4)
self.add_tab(self._advanced_layout, 'Advanced Settings') self.add_tab(self._advanced_layout, 'Advanced Settings')
# def gen_h_seperator(self): # def gen_h_separator(self):
# seperator = QtGui.QFrame() # separator = QtGui.QFrame()
# seperator.setFrameShape(QtGui.QFrame.HLine) # separator.setFrameShape(QtGui.QFrame.HLine)
# return seperator # return separator
# def gen_headline(self, text): # def gen_headline(self, text):
# label=QtGui.QLabel(text) # label=QtGui.QLabel(text)