You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Axis[slice_LGroup_on_incompatible_axis] has wrong behavior #1154
>>>a=Axis('a=a0,a1,a2')
>>>alt_a=Axis('a=a0,a1')
>>>print(alt_a[:]) # <-- OK
['a0''a1']
>>>print(a[alt_a[:]]) # <-- BAD !
['a0''a1''a2']
>>># we should .eval() the group>>>print(a[alt_a[:].eval()])
['a0''a1']
changed the title [-]Axis[group_on_incompatible_axis] has wrong behavior[/-][+]Axis[slice_LGroup_on_incompatible_axis] has wrong behavior[/+]on Dec 19, 2025
Activity
gdementen commentedon Dec 19, 2025
I added a warning message for this one in 0.35. See #1155 for the igroup counterpart.
[-]Axis[group_on_incompatible_axis] has wrong behavior[/-][+]Axis[slice_LGroup_on_incompatible_axis] has wrong behavior[/+]FIX: do not change buggy behavior users rely on yet (see #1117 and #1146