Skip to content

Axis[slice_LGroup_on_incompatible_axis] has wrong behavior #1154

Open

Description

@gdementen

In the same vein as #1117 and #1146, we have:

>>> 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']

Activity

  1. added this to the 0.36 milestone on Dec 18, 2025
  2. gdementen commented on Dec 19, 2025

    @gdementen
    ContributorAuthor

    I added a warning message for this one in 0.35. See #1155 for the igroup counterpart.

  3. changed the title [-]Axis[group_on_incompatible_axis] has wrong behavior[/-] [+]Axis[slice_LGroup_on_incompatible_axis] has wrong behavior[/+] on Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions