Skip to content

Commit

Permalink
Bump version: 1.1.1 → 1.1.2 (#318)
Browse files Browse the repository at this point in the history
* Bump version: 1.1.1 → 1.1.2

* Fix space issues
  • Loading branch information
pbashyal-nmdp committed Mar 22, 2024
1 parent 1d09098 commit a4f6931
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LABEL MAINTAINER="Pradeep Bashyal"

WORKDIR /app

ARG PY_ARD_VERSION=1.1.1
ARG PY_ARD_VERSION=1.1.2

COPY requirements.txt /app
RUN pip install --no-cache-dir --upgrade pip && \
Expand Down
2 changes: 1 addition & 1 deletion api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.3
info:
title: ARD Reduction
description: Reduce to ARD Level
version: "1.1.1"
version: "1.1.2"
servers:
- url: 'http://localhost:8080'
tags:
Expand Down
2 changes: 1 addition & 1 deletion pyard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from .misc import get_imgt_db_versions as db_versions

__author__ = """NMDP Bioinformatics"""
__version__ = "1.1.1"
__version__ = "1.1.2"


def init(
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.1
current_version = 1.1.2
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

setup(
name="py-ard",
version="1.1.1",
version="1.1.2",
description="ARD reduction for HLA with Python",
long_description=readme,
long_description_content_type="text/markdown",
Expand Down
3 changes: 0 additions & 3 deletions tests/test_pyard.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,17 +206,14 @@ def test_is_null(self):
self.ard.is_null(allele), msg="MACs shouldn't be called as Nulls"
)


def test_default_redux_is_lgx(self):
allele = "A*24:BKKPV+A*26:03^B*15:BKNTS+B*15:07"
lgx_redux = self.ard.redux(allele, "lgx")
default_redux = self.ard.redux(allele)
self.assertEqual(lgx_redux, default_redux, msg="Default redux should be lgx")


def test_mac_is_reversible(self):
mac_code = "A*68:AJEBX"
expanded_mac = self.ard.expand_mac(mac_code)
lookup_mac = self.ard.lookup_mac(expanded_mac)
self.assertEqual(mac_code, lookup_mac, msg="MACs should be reversible")

0 comments on commit a4f6931

Please sign in to comment.