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
When applying the same map (for example to translate several arrays for final reporting), it is very tedious to have to compute the correct mapping for each array (intersect the global mapping keys with the axis labels).
>>>arr=ndtest(3)
>>>arr.set_labels({'a1': 'A1', 'a3': 'A3'})
ValueError: 'a3'isnotavalidlabelforanyaxis:
a [3]: 'a0''a1''a2'
Since this could hide errors and it sort-of-conflicts with #906, we cannot do this by default. Having an option would be nice though.
The text was updated successfully, but these errors were encountered:
In dc2024 (and possibly 2019), I used different code to be able to rename the axis at the same time, by using a special __name__ label but I am unsure it is a good idea to support this in LArray itself.
When applying the same map (for example to translate several arrays for final reporting), it is very tedious to have to compute the correct mapping for each array (intersect the global mapping keys with the axis labels).
Since this could hide errors and it sort-of-conflicts with #906, we cannot do this by default. Having an option would be nice though.
The text was updated successfully, but these errors were encountered: