Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
de49ecf
create Specialized Handler Classes for allele, glstring, mac etc.
pbashyal-nmdp Oct 6, 2025
21ccae1
Strategies
pbashyal-nmdp Oct 6, 2025
ce1ef2b
Setup handlers first before building database
pbashyal-nmdp Oct 17, 2025
367710b
Rename Strategy to Reducer
pbashyal-nmdp Oct 17, 2025
f6990ce
Update python-tests action for unit test path
pbashyal-nmdp Oct 17, 2025
2593218
Bump version: 1.5.5 → 2.0.0b1
pbashyal-nmdp Oct 17, 2025
52ff655
Make some private methods to public
pbashyal-nmdp Oct 17, 2025
c5a1ada
Cleanup
pbashyal-nmdp Oct 17, 2025
a063e4b
Consolidate HLA- prefix handling
pbashyal-nmdp Oct 17, 2025
85066e0
extract `_redux_non_glstring` method from `redux`
pbashyal-nmdp Oct 17, 2025
3236056
Bump version: 2.0.0b1 → 2.0.0b2
pbashyal-nmdp Oct 17, 2025
681760b
Update changelog for 2.0.0b1
pbashyal-nmdp Oct 21, 2025
a1e374f
Merge branch 'master' into major_refactor_2.0
pbashyal-nmdp Oct 22, 2025
b310ee6
@override is only available for Python >= 3.12
pbashyal-nmdp Oct 29, 2025
ada59b0
@override is only available for Python >= 3.12
pbashyal-nmdp Oct 29, 2025
8429ac2
Merge remote-tracking branch 'origin/major_refactor_2.0' into major_r…
pbashyal-nmdp Oct 29, 2025
bfb286e
Remove @override
pbashyal-nmdp Oct 29, 2025
f8df7ad
added check for TYPE_CHECKING
pbashyal-nmdp Oct 29, 2025
c0021c2
Update setup.py
pbashyal-nmdp Oct 29, 2025
6b41868
Tests for reducers
pbashyal-nmdp Oct 31, 2025
26a7dd0
Document modules
pbashyal-nmdp Nov 3, 2025
e5ba343
Document pyard.* modules
pbashyal-nmdp Nov 3, 2025
2437d68
Handler Tests
pbashyal-nmdp Nov 3, 2025
7515e69
Make refactored ARD the default.
pbashyal-nmdp Nov 3, 2025
9c27981
Extract config
pbashyal-nmdp Nov 5, 2025
7fbdf8b
Include csv files in `loader/` directory
pbashyal-nmdp Nov 12, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
- name: Run Unit Tests
run: |
# When run the first time, it'll build the library
python -m unittest tests.unit.test_pyard tests.unit.test_smart_sort
pytest
# When run the second time, it should use the already installed library
python -m unittest tests.unit.test_pyard tests.unit.test_smart_sort
pytest
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=2.0.0b1
ARG PY_ARD_VERSION=2.0.0b2

COPY requirements.txt /app
RUN pip install --no-cache-dir --upgrade pip && \
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ include HISTORY.rst
include LICENSE
include README.md
include pyard/*.csv
include pyard/loader/*.csv
include requirements.txt
include requirements-tests.txt

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: "2.0.0b1"
version: "2.0.0b2"
servers:
- url: 'http://localhost:8080'
tags:
Expand Down
6 changes: 4 additions & 2 deletions pyard/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

#
# py-ard
# Copyright (c) 2023 Be The Match operated by National Marrow Donor Program. All Rights Reserved.
Expand All @@ -21,12 +20,15 @@
# > http://www.fsf.org/licensing/licenses/lgpl.html
# > http://www.opensource.org/licenses/lgpl-license.php
#

# exports for `pyard`
from .blender import blender as dr_blender
from .config import ARDConfig
from .constants import DEFAULT_CACHE_SIZE
from .misc import get_imgt_db_versions as db_versions

__author__ = """NMDP Bioinformatics"""
__version__ = "2.0.0b1"
__version__ = "2.0.0b2"


def init(
Expand Down
Loading