larry.keep_label crashes when there is nothing to keep
Bug #518135 reported by
kwgoodman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
larry |
Fix Released
|
Medium
|
kwgoodman |
Bug Description
>> y = la.larry([1, 2])
>> y.keep_label('==', 99, axis=0) # <--- Nothing to keep
-------
ValueError Traceback (most recent call last)
/ba/devel/
/ba/devel/
1730 cmd = cmd + op + ' value]'
1731 idxlabel = eval(cmd)
-> 1732 idx, label = zip(*idxlabel)
1733 y.label[axis] = list(label)
1734 index = [slice(
ValueError: need more than 0 values to unpack
Changed in larry: | |
milestone: | none → 0.2 |
importance: | Undecided → Medium |
assignee: | nobody → kwgoodman (kwgoodman) |
Changed in larry: | |
status: | New → Fix Committed |
Changed in larry: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.