Skip to content

Commit

Permalink
Merge v1.2.9
Browse files Browse the repository at this point in the history
Corrects GeneralResidueEvolution Popup
  • Loading branch information
joaomcteixeira authored Nov 1, 2018
2 parents 0fbd8d5 + 042c7fd commit ca69b40
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion gui/Footer.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __init__(self, parent, gui_settings=None):
#
version = '<span style="color: #036D8F; font-size: 6pt; ' \
'font-weight: 400; margin-right: 29px; margin-top: 4px;"' \
'>v.1.2.8&nbsp;&nbsp;&nbsp;&nbsp;</span>'
'>v.1.2.9&nbsp;&nbsp;&nbsp;&nbsp;</span>'
self.versionLabel = QLabel(version, self)
self.versionLabel.setAlignment(QtCore.Qt.AlignRight)
#
Expand Down
44 changes: 22 additions & 22 deletions gui/popups/GeneralResidueEvolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,29 +203,29 @@ def get_defaults(self):
# checkbox
self.do_revo_fit.checkBox.setChecked(self.defaults["perform_resevo_fitting"])
# dropdown list
self.revo_subtitle_fn.select(self.defaults["revo_subtitle_fn"])
self.revo_subtitle_weight.select(self.defaults["revo_subtitle_weight"])
self.revo_x_label_fn.select(self.defaults["revo_x_label_fn"])
self.revo_x_label_weight.select(self.defaults["revo_x_label_weight"])
self.revo_y_label_fn.select(self.defaults["revo_y_label_fn"])
self.revo_y_label_weight.select(self.defaults["revo_y_label_weight"])
self.revo_x_ticks_fn.select(self.defaults["revo_x_ticks_fn"])
self.revo_x_ticks_weight.select(self.defaults["revo_x_ticks_weight"])
self.revo_y_ticks_fn.select(self.defaults["revo_y_ticks_fn"])
self.revo_y_ticks_weight.select(self.defaults["revo_y_ticks_weight"])
self.revo_subtitle_fn.select(self.defaults["subtitle_fn"])
self.revo_subtitle_weight.select(self.defaults["subtitle_weight"])
self.revo_x_label_fn.select(self.defaults["x_label_fn"])
self.revo_x_label_weight.select(self.defaults["x_label_weight"])
self.revo_y_label_fn.select(self.defaults["y_label_fn"])
self.revo_y_label_weight.select(self.defaults["y_label_weight"])
self.revo_x_ticks_fn.select(self.defaults["x_ticks_fn"])
self.revo_x_ticks_weight.select(self.defaults["x_ticks_weight"])
self.revo_y_ticks_fn.select(self.defaults["y_ticks_fn"])
self.revo_y_ticks_weight.select(self.defaults["y_ticks_weight"])
# value
self.revo_subtitle_fs.setValue(self.defaults["revo_subtitle_fs"])
self.revo_subtitle_pad.setValue(self.defaults["revo_subtitle_pad"])
self.revo_x_label_fs.setValue(self.defaults["revo_x_label_fs"])
self.revo_x_label_pad.setValue(self.defaults["revo_x_label_pad"])
self.revo_y_label_fs.setValue(self.defaults["revo_y_label_fs"])
self.revo_y_label_pad.setValue(self.defaults["revo_y_label_pad"])
self.revo_x_ticks_fs.setValue(self.defaults["revo_x_ticks_fs"])
self.revo_x_ticks_pad.setValue(self.defaults["revo_x_ticks_pad"])
self.revo_x_ticks_rotation.setValue(self.defaults["revo_x_ticks_rot"])
self.revo_y_ticks_fs.setValue(self.defaults["revo_y_ticks_fs"])
self.revo_y_ticks_pad.setValue(self.defaults["revo_y_ticks_pad"])
self.revo_y_ticks_rot.setValue(self.defaults["revo_y_ticks_rot"])
self.revo_subtitle_fs.setValue(self.defaults["subtitle_fs"])
self.revo_subtitle_pad.setValue(self.defaults["subtitle_pad"])
self.revo_x_label_fs.setValue(self.defaults["x_label_fs"])
self.revo_x_label_pad.setValue(self.defaults["x_label_pad"])
self.revo_y_label_fs.setValue(self.defaults["y_label_fs"])
self.revo_y_label_pad.setValue(self.defaults["y_label_pad"])
self.revo_x_ticks_fs.setValue(self.defaults["x_ticks_fs"])
self.revo_x_ticks_pad.setValue(self.defaults["x_ticks_pad"])
self.revo_x_ticks_rotation.setValue(self.defaults["x_ticks_rot"])
self.revo_y_ticks_fs.setValue(self.defaults["y_ticks_fs"])
self.revo_y_ticks_pad.setValue(self.defaults["y_ticks_pad"])
self.revo_y_ticks_rot.setValue(self.defaults["y_ticks_rot"])
# text
self.titration_x_values.field.setText(
','.join([str(x) for x in self.defaults["titration_x_values"]])
Expand Down

0 comments on commit ca69b40

Please sign in to comment.