Skip to content

Commit

Permalink
Add logging output for UI tool build version at startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeyer committed Dec 28, 2024
1 parent 4851383 commit 0439082
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nion/swift/Application.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def initialize(self, *, load_plug_ins: bool = True, use_root_dir: bool = True) -
logging.info("Launch time " + str(datetime.datetime.now()))
logging.info("Python version " + str(sys.version.replace('\n', '')))
logging.info("User interface class " + type(self.ui).__name__ + " / " + type(getattr(self.ui, "proxy")).__name__)
logging.info("Build version (UI) " + self.ui.get_build_version())
logging.info("Qt version " + self.ui.get_qt_version())
app_data_file_path = self.ui.get_configuration_location() / pathlib.Path("nionswift_appdata.json")
ApplicationData.set_file_path(app_data_file_path)
Expand Down

0 comments on commit 0439082

Please sign in to comment.