nmdp-bioinformatics / genotype-list

Genotype List service, client library, and command line tools.
GNU Lesser General Public License v3.0
3 stars 7 forks source link

Comment in html, rdf, n3 templates should only use plural resource names when size != 1 #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The comment field in html, rdf, and n3 templates should only use plural 
resource names when size != 1.  For example, the following generated comments 
are incorrect:

A genotype list with 1 genotypes represented by glstring 
HLA-DQB1*02:05+HLA-DQB1*05:08

A genotype with 1 allele lists and 1 haplotypes represented by glstring 
HLA-DRB1*03:71+HLA-DRB1*16:19~HLA-DRB3*02:12~HLA-DRB4*01:03:03 

An allele list with 1 alleles represented by glstring HLA-DRB1*03:71

The following generated comments are correct

A multilocus unphased genotype with 5 genotype lists represented by glstring 
HLA-A*24:135+HLA-A*02:32N^HLA-B*54:23+HLA-B*15:43^HLA-C*12:28+HLA-C*03:120^HLA-D
RB1*03:71+HLA-DRB1*16:19~HLA-DRB3*02:12~HLA-DRB4*01:03:03^HLA-DQB1*02:05+HLA-DQB
1*05:08

A genotype with 2 allele lists and 0 haplotypes represented by glstring 
HLA-DQB1*02:05+HLA-DQB1*05:08

A haplotype with 3 allele lists represented by glstring 
HLA-DRB1*16:19~HLA-DRB3*02:12~HLA-DRB4*01:03:03

Original issue reported on code.google.com by mhe...@nmdp.org on 27 Jul 2012 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by mhe...@nmdp.org on 2 Aug 2012 at 5:33

GoogleCodeExporter commented 9 years ago
Fixed in revision 107.

Original comment by mhe...@nmdp.org on 3 Aug 2012 at 4:51