Skip to content

Commit

Permalink
Update frames.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SerenaRosi committed Nov 25, 2022
1 parent 8c6f294 commit a4daa99
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,12 @@ def show_detailed_info_window(self):

has_pymol_conda = str(hasattr(pymol, "externing") and hasattr(pymol.externing, "conda"))

config_path = self.main_window.docking_programs.config_path
with open(str(os.path.join(config_path, "version.txt"))) as f:
read_version = f.readline().rstrip()

version = (read_version.split("_")[1]).replace("v", "")


additional_text = ("INFO and CONTACTS\n"
"Copyright (C): 2022 Serena Rosignoli, Alessandro Paiardini\n"
Expand All @@ -347,8 +353,7 @@ def show_detailed_info_window(self):
"https://github.com/paiardin/DockingPie\n\n"

"# DockingPie\n"
"- Version: " + "1.0" + "\n"
"- Revision: " + "0" + "\n"
"- Version: " + version + "\n"
"- Plugin path: " + self._get_path_string(plugin_path) + " \n"
"- Config directory: " + self._get_path_string(self.main_window.docking_programs.config_path) + "\n\n"

Expand Down

0 comments on commit a4daa99

Please sign in to comment.