Skip to content

redux_gl works for lgx but not G #66

@mmaiers-nmdp

Description

@mmaiers-nmdp
ard.redux_gl("A*02:01/A*02:786", "lgx")
'A*02:01'

ard.redux_gl("A*02:01/A*02:786", "G")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/private/tmp/b/py-ard/pyard/pyard.py", line 173, in redux_gl
    key=functools.cmp_to_key(smart_sort_comparator)))
  File "/private/tmp/b/py-ard/pyard/smart_sort.py", line 76, in smart_sort_comparator
    a1_f3 = int(a1_fields[2])
ValueError: invalid literal for int() with base 10: '01/A*02'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions