diff --git a/mhctools/__init__.py b/mhctools/__init__.py index 5318829..268d83c 100644 --- a/mhctools/__init__.py +++ b/mhctools/__init__.py @@ -27,7 +27,7 @@ from .netmhcstabpan import NetMHCstabpan from .unsupported_allele import UnsupportedAllele -__version__ = "3.0.0" +__version__ = "3.0.1" __all__ = [ "Pred", diff --git a/mhctools/allele_normalization.py b/mhctools/allele_normalization.py index 7e53f37..97c1efd 100644 --- a/mhctools/allele_normalization.py +++ b/mhctools/allele_normalization.py @@ -7,8 +7,6 @@ - AlleleParseError """ -from __future__ import print_function, division, absolute_import - from collections import namedtuple from mhcgnomes import Allele, Pair, ParseError, parse diff --git a/mhctools/base_commandline_predictor.py b/mhctools/base_commandline_predictor.py index 3d6f0e4..e2995e5 100644 --- a/mhctools/base_commandline_predictor.py +++ b/mhctools/base_commandline_predictor.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import from collections import defaultdict import logging from subprocess import check_output diff --git a/mhctools/binding_prediction_collection.py b/mhctools/binding_prediction_collection.py index 67d0a39..0174b99 100644 --- a/mhctools/binding_prediction_collection.py +++ b/mhctools/binding_prediction_collection.py @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import - import pandas as pd from sercol import Collection diff --git a/mhctools/cli/__init__.py b/mhctools/cli/__init__.py index 724c235..6dd3480 100644 --- a/mhctools/cli/__init__.py +++ b/mhctools/cli/__init__.py @@ -16,8 +16,6 @@ Commandline interface for MHC Binding Prediction """ -from __future__ import print_function, division, absolute_import - from .args import ( mhc_binding_predictor_from_args, mhc_alleles_from_args, diff --git a/mhctools/cli/args.py b/mhctools/cli/args.py index 65e95fa..57674b8 100644 --- a/mhctools/cli/args.py +++ b/mhctools/cli/args.py @@ -17,7 +17,6 @@ Commandline options for MHC Binding Prediction """ -from __future__ import print_function, division, absolute_import from argparse import ArgumentParser import logging diff --git a/mhctools/cli/parsing_helpers.py b/mhctools/cli/parsing_helpers.py index 345893b..35e783c 100644 --- a/mhctools/cli/parsing_helpers.py +++ b/mhctools/cli/parsing_helpers.py @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import - def parse_int_list(string): """ Parses a string of numbers and ranges into a list of integers. Ranges diff --git a/mhctools/cli/script.py b/mhctools/cli/script.py index b7429a0..bc5b5fe 100644 --- a/mhctools/cli/script.py +++ b/mhctools/cli/script.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import import sys import pandas as pd diff --git a/mhctools/netmhc3.py b/mhctools/netmhc3.py index c27aeb0..6e3c90c 100644 --- a/mhctools/netmhc3.py +++ b/mhctools/netmhc3.py @@ -10,8 +10,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import - from .base_commandline_predictor import BaseCommandlinePredictor from .parsing import parse_netmhc3_stdout diff --git a/mhctools/netmhc_cons.py b/mhctools/netmhc_cons.py index d152d05..1b288ca 100644 --- a/mhctools/netmhc_cons.py +++ b/mhctools/netmhc_cons.py @@ -10,8 +10,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import - from .base_commandline_predictor import BaseCommandlinePredictor from .parsing import parse_netmhccons_stdout diff --git a/mhctools/netmhc_pan28.py b/mhctools/netmhc_pan28.py index e350d33..4c453ca 100644 --- a/mhctools/netmhc_pan28.py +++ b/mhctools/netmhc_pan28.py @@ -10,8 +10,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import - from .base_commandline_predictor import BaseCommandlinePredictor from .parsing import parse_netmhcpan28_stdout, parse_netmhcpan_to_preds diff --git a/mhctools/netmhc_pan4.py b/mhctools/netmhc_pan4.py index 3954556..d33fd69 100644 --- a/mhctools/netmhc_pan4.py +++ b/mhctools/netmhc_pan4.py @@ -10,8 +10,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import - from .base_commandline_predictor import BaseCommandlinePredictor from .parsing import parse_netmhcpan4_stdout, parse_netmhcpan_to_preds from functools import partial diff --git a/mhctools/parsing.py b/mhctools/parsing.py index cc7ab8d..d6942ea 100644 --- a/mhctools/parsing.py +++ b/mhctools/parsing.py @@ -10,8 +10,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import - import logging import re diff --git a/mhctools/process_helpers.py b/mhctools/process_helpers.py index cee764b..a3a188a 100644 --- a/mhctools/process_helpers.py +++ b/mhctools/process_helpers.py @@ -10,7 +10,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import import logging import os from subprocess import Popen, CalledProcessError diff --git a/mhctools/unsupported_allele.py b/mhctools/unsupported_allele.py index cc4feef..62b9215 100644 --- a/mhctools/unsupported_allele.py +++ b/mhctools/unsupported_allele.py @@ -12,7 +12,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, division, absolute_import - class UnsupportedAllele(ValueError): pass diff --git a/pyproject.toml b/pyproject.toml index 8d4f834..be37a71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Bio-Informatics", ] dependencies = [ - "numpy>=1.7", + "numpy>=2.0.0,<3.0.0", "pandas>=0.13.1", "varcode>=0.5.9", "pyensembl>=2.3.0,<3.0.0", diff --git a/requirements.txt b/requirements.txt index a37c508..f83e49e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -numpy>=1.7 +numpy>=2.0.0,<3.0.0 pandas>=0.13.1 pyensembl>=2.3.0,<3.0.0 varcode>=0.5.9