Title: Axis[slice_LGroup_on_incompatible_axis] has wrong behavior · Issue #1154 · larray-project/larray · GitHub
Open Graph Title: Axis[slice_LGroup_on_incompatible_axis] has wrong behavior · Issue #1154 · larray-project/larray
X Title: Axis[slice_LGroup_on_incompatible_axis] has wrong behavior · Issue #1154 · larray-project/larray
Description: 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...
Open Graph Description: 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'] >>>...
X Description: 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...
Opengraph URL: https://github.com/larray-project/larray/issues/1154
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Axis[slice_LGroup_on_incompatible_axis] has wrong behavior","articleBody":"In the same vein as #1117 and #1146, we have:\n\n```python\n>>> a = Axis('a=a0,a1,a2')\n>>> alt_a = Axis('a=a0,a1')\n>>> print(alt_a[:]) # \u003c-- OK\n['a0' 'a1']\n>>> print(a[alt_a[:]]) # \u003c-- BAD !\n['a0' 'a1' 'a2']\n>>> # we should .eval() the group\n>>> print(a[alt_a[:].eval()])\n['a0' 'a1']\n```\n","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2025-12-18T15:44:48Z","url":"https://github.com/larray-project/larray/issues/1154"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9b59d968-7c7e-eb6c-2c88-baad65da1434 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 904A:30CC09:2247AA8:2E4FE9F:6B001F82 |
| html-safe-nonce | 14cc77fdbab6d9dbd28d6a85fa1e7c7e9d7068c2c0a1ab761287dd1d388d4512 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDRBOjMwQ0MwOToyMjQ3QUE4OjJFNEZFOUY6NkIwMDFGODIiLCJ2aXNpdG9yX2lkIjoiMjMyNzYzNDIxOTA3NDg1NDc4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f667e3a867014bee38cd4708ae112c696e31ae8a0f869bf884f45aedf262c260 |
| hovercard-subject-tag | issue:3743696054 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/larray-project/larray/1154/issue_layout |
| twitter:image | https://opengraph.githubassets.com/864725b20aeab2e842d4c8014dca4cf3c3be9de67f9010360097b5a7e937a2b5/larray-project/larray/issues/1154 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/864725b20aeab2e842d4c8014dca4cf3c3be9de67f9010360097b5a7e937a2b5/larray-project/larray/issues/1154 |
| og:image:alt | 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'] >>>... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gdementen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/larray-project/larray git https://github.com/larray-project/larray.git |
| octolytics-dimension-user_id | 26460981 |
| octolytics-dimension-user_login | larray-project |
| octolytics-dimension-repository_id | 16981067 |
| octolytics-dimension-repository_nwo | larray-project/larray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16981067 |
| octolytics-dimension-repository_network_root_nwo | larray-project/larray |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width