diff --git a/easybuild/easyconfigs/c/cryolo/fix_cryolo_gui_no_attribute_version.patch b/easybuild/easyconfigs/c/cryolo/fix_cryolo_gui_no_attribute_version.patch new file mode 100644 index 00000000000..95fff6d7acf --- /dev/null +++ b/easybuild/easyconfigs/c/cryolo/fix_cryolo_gui_no_attribute_version.patch @@ -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,