diff --git a/ms2rescore/__init__.py b/ms2rescore/__init__.py index 5638cf9c..e2462d7e 100644 --- a/ms2rescore/__init__.py +++ b/ms2rescore/__init__.py @@ -1,6 +1,6 @@ """MS²Rescore: Sensitive PSM rescoring with predicted MS² peak intensities and RTs.""" -__version__ = "3.0.0" +__version__ = "3.0.1" from warnings import filterwarnings diff --git a/ms2rescore/gui/app.py b/ms2rescore/gui/app.py index c436a902..f1be6b25 100644 --- a/ms2rescore/gui/app.py +++ b/ms2rescore/gui/app.py @@ -8,6 +8,7 @@ import webbrowser from pathlib import Path from typing import Dict, List, Tuple +import platform import customtkinter as ctk from joblib import parallel_backend @@ -648,6 +649,7 @@ def app(): dpi = root.winfo_fpixels("1i") root.geometry(f"{int(15*dpi)}x{int(10*dpi)}") root.title("MS²Rescore") - root.wm_iconbitmap(os.path.join(str(_IMG_DIR), "program_icon.ico")) + if platform.system() != "Linux": + root.wm_iconbitmap(os.path.join(str(_IMG_DIR), "program_icon.png")) root.mainloop() diff --git a/pyproject.toml b/pyproject.toml index 3053c8e6..8f135149 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,8 @@ classifiers = [ dynamic = ["version"] requires-python = ">=3.8" dependencies = [ - "numpy>=1.16.0", + "numpy>=1.16.0; python_version != '3.11'", + "numpy==1.24.3; python_version == '3.11'", # Incompatibility with sklearn, pygam, and TF... "pandas>=1.0", "rich>=12", "pyteomics>=4.1.0", @@ -41,7 +42,7 @@ dependencies = [ "click>=7", "cascade-config>=0.4.0", "deeplc>=2.2", - "deeplcretrainer>=0.2", # TODO: Release version pin + "deeplcretrainer>=0.2", "tomli>=2; python_version < '3.11'", "psm_utils>=0.4", "customtkinter>=5,<6",