Skip to content

Commit

Permalink
Update job name when sequences are re-read. Change version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgkempf committed Jan 17, 2023
1 parent cb11616 commit ed535c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions guifold/src/gui_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,10 +840,8 @@ def read_sequences(self):
logger.debug(self.custom_template_list.value)
logger.debug(self.precomputed_msas_list.value)
logger.debug(self.job_name.ctrl.text())
job_name = self.job_name.ctrl.text()
if self.job_name.ctrl.text() == "":
job_name = self.seq_names.value.replace(',','_')
self.job_name.ctrl.setText(job_name)
job_name = self.seq_names.value.replace(',','_')
self.job_name.ctrl.setText(job_name)
self.job_name.set_value(job_name)
return error_msgs

Expand Down
4 changes: 2 additions & 2 deletions guifold/ui/about.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>343</width>
<height>188</height>
<height>160</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -35,7 +35,7 @@
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Version 0.2</string>
<string>Version 0.3.0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
Expand Down

0 comments on commit ed535c1

Please sign in to comment.