File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 1.0.5 " ></a >
2+ # [ 1.0.5 Non strict mode] ( https://github.com/nmdp-bioinformatics/py-ard/releases/tag/1.0.5 ) - 04 Oct 2023
3+
4+ Supports non-strict mode makes valid alleles by adding expression characters to invalid alleles.
5+
6+ ## Use non ` strict ` mode in config to reduce alleles that may be valid with expression characters.
7+
8+ ``` python
9+ >> > my_configs = {' strict' : False , ' verbose_log' : True }
10+ >> > import pyard
11+ >> > ard = pyard.init(config = my_configs, load_mac = False )
12+
13+ >> > ard.redux(' A*24:329' , ' lgx' )
14+ A* 24 :329 is not valid. Using A* 24 :329Q
15+ ' A*24:329Q'
16+
17+ >> > ard.redux(' DQB1*03:276' , ' lgx' )
18+ DQB1 * 03 :276 is not valid. Using DQB1 * 03 :276N
19+ ' DQB1*03:01'
20+ ```
21+
22+ ## Add non-strict and verbose modes to pyard CLI.
23+
24+ ``` bash
25+ ❯ pyard --gl " DQB1*03:276" -r lgx
26+ Typing Error: DQB1* 03:276 is not valid GL String.
27+ DQB1* 03:276 is not a valid Allele
28+
29+ ❯ pyard --non-strict --gl " DQB1*03:276" -r lgx
30+ DQB1* 03:01
31+
32+ ❯ pyard --non-strict --verbose --gl " DQB1*03:276" -r lgx
33+ DQB1* 03:276 is not valid. Using DQB1* 03:276N
34+ DQB1* 03:01
35+ ```
36+
37+
38+ [ Changes] [ 1.0.5 ]
39+
40+
141<a name =" 1.0.4 " ></a >
242# [ Fixes when used without login user (1.0.4)] ( https://github.com/nmdp-bioinformatics/py-ard/releases/tag/1.0.4 ) - 19 Sep 2023
343
563603[ Changes] [ 0.0.14 ]
564604
565605
606+ [ 1.0.5 ] : https://github.com/nmdp-bioinformatics/py-ard/compare/1.0.4...1.0.5
566607[ 1.0.4 ] : https://github.com/nmdp-bioinformatics/py-ard/compare/1.0.3...1.0.4
567608[ 1.0.3 ] : https://github.com/nmdp-bioinformatics/py-ard/compare/1.0.2...1.0.3
568609[ 1.0.2 ] : https://github.com/nmdp-bioinformatics/py-ard/compare/1.0.1...1.0.2
You can’t perform that action at this time.
0 commit comments