Skip to content

Commit 38102dc

Browse files
authored
Merge pull request #359 from pbashyal-nmdp/major_refactor_2.0
Major refactor `2.0.0b2`
2 parents f4c76b4 + 7fbdf8b commit 38102dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+4268
-968
lines changed

.github/workflows/python-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ jobs:
4141
- name: Run Unit Tests
4242
run: |
4343
# When run the first time, it'll build the library
44-
python -m unittest tests.unit.test_pyard tests.unit.test_smart_sort
44+
pytest
4545
# When run the second time, it should use the already installed library
46-
python -m unittest tests.unit.test_pyard tests.unit.test_smart_sort
46+
pytest

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LABEL MAINTAINER="Pradeep Bashyal"
44

55
WORKDIR /app
66

7-
ARG PY_ARD_VERSION=2.0.0b1
7+
ARG PY_ARD_VERSION=2.0.0b2
88

99
COPY requirements.txt /app
1010
RUN pip install --no-cache-dir --upgrade pip && \

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ include HISTORY.rst
55
include LICENSE
66
include README.md
77
include pyard/*.csv
8+
include pyard/loader/*.csv
89
include requirements.txt
910
include requirements-tests.txt
1011

api-spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.3
22
info:
33
title: ARD Reduction
44
description: Reduce to ARD Level
5-
version: "2.0.0b1"
5+
version: "2.0.0b2"
66
servers:
77
- url: 'http://localhost:8080'
88
tags:

pyard/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
#
43
# py-ard
54
# Copyright (c) 2023 Be The Match operated by National Marrow Donor Program. All Rights Reserved.
@@ -21,12 +20,15 @@
2120
# > http://www.fsf.org/licensing/licenses/lgpl.html
2221
# > http://www.opensource.org/licenses/lgpl-license.php
2322
#
23+
24+
# exports for `pyard`
2425
from .blender import blender as dr_blender
26+
from .config import ARDConfig
2527
from .constants import DEFAULT_CACHE_SIZE
2628
from .misc import get_imgt_db_versions as db_versions
2729

2830
__author__ = """NMDP Bioinformatics"""
29-
__version__ = "2.0.0b1"
31+
__version__ = "2.0.0b2"
3032

3133

3234
def init(

0 commit comments

Comments
 (0)