[bugfix] missing comma in dictionary definition, also corrected misspelling
This commit is contained in:
parent
5bc9f14074
commit
1b3c29c47e
@ -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',
|
||||
|
@ -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'+
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user