Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:EricWong23/easybuild-easyconfigs…
Browse files Browse the repository at this point in the history
… into develop
  • Loading branch information
EricWong23 committed Jan 12, 2025
2 parents 38b1e2f + 29b8267 commit 9ff08ee
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# fix AttributeError: module 'cryolo.__init__' has no attribute '__version__'
# Author: Eric Wong

--- lib/python3.8/site-packages/cryolo/cryolo_main.py.old 2025-01-07 14:25:10.536352020 +0800
+++ lib/python3.8/site-packages/cryolo/cryolo_main.py 2025-01-07 14:28:18.826209903 +0800
@@ -461,7 +461,7 @@

Gooey(
main,
- program_name="crYOLO " + ini.__version__,
+ program_name="crYOLO " + getattr(ini, '__version__', getattr(ini, 'version', '1.9.9')),
image_dir=os.path.join(os.path.abspath(os.path.dirname(__file__)), "../icons"),
progress_regex=r"^.* \( Progress:\s+(-?\d+) % \)$",
disable_progress_bar_animation=True,

0 comments on commit 9ff08ee

Please sign in to comment.