Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mhctools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from .netmhcstabpan import NetMHCstabpan
from .unsupported_allele import UnsupportedAllele

__version__ = "3.0.0"
__version__ = "3.0.1"

__all__ = [
"Pred",
Expand Down
2 changes: 0 additions & 2 deletions mhctools/allele_normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
- AlleleParseError
"""

from __future__ import print_function, division, absolute_import

from collections import namedtuple

from mhcgnomes import Allele, Pair, ParseError, parse
Expand Down
1 change: 0 additions & 1 deletion mhctools/base_commandline_predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions mhctools/binding_prediction_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions mhctools/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion mhctools/cli/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
Commandline options for MHC Binding Prediction
"""

from __future__ import print_function, division, absolute_import
from argparse import ArgumentParser
import logging

Expand Down
2 changes: 0 additions & 2 deletions mhctools/cli/parsing_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion mhctools/cli/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions mhctools/netmhc3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions mhctools/netmhc_cons.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions mhctools/netmhc_pan28.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions mhctools/netmhc_pan4.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions mhctools/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion mhctools/process_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions mhctools/unsupported_allele.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading