JuliaArrays / JuliaArrays/AxisArrays.jl
Assignment with Intervals gives error.
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 207
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to assign values using intervals, but get an error. Is this a bug?
julia> B = AxisArray(randn(3,2))
julia> B[row=1..2, col=2] = [0.2, 0.3]
UndefVarError: `..` not defined
top-level scope@[Local: 1](http://localhost:1234/edit?id=4a47ab24-2408-11ee-1558-2b8ee5dbdb82#)[inlined]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Julia REPL example using AxisArray and the interval assignment shown. Trace how AxisArrays handles the named-axis indexing and determine whether .. is supported; done means the example no longer raises UndefVarError, or the supported syntax and resulting behavior are clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100