[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

@ -278,14 +278,14 @@ defaults = {'rootpath': {'type': str,
'value': 1.0}, 'value': 1.0},
'WAscaling': {'type': (float, float, float), 'WAscaling': {'type': (float, float, float),
'tooltip': 'Scaling relation (log(Ao)+Alog(r)+Br+C) of Wood-Anderson amplitude Ao [nm] \ 'tooltip': 'Scaling relation (log(Ao)+Alog(r)+Br+C) of Wood-Anderson amplitude Ao [nm] \
If zeros are set, original Richter magnitude is calculated!', If zeros are set, original Richter magnitude is calculated!',
'value': (0., 0., 0.)}, 'value': (0., 0., 0.)},
'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)