Skip to content

Edit an event in a block does not work #574

Open
@aTrotier

Description

@aTrotier

What happened?

Hi,
I am trying to play around the labels but I am facing an issue which also happens for the other events.
I can't change the value of a block, I don't get any error but the value is not edited.

using KomaMRI
seq = Sequence()
seq += Sequence([Grad(0,0.1)])
seq += Sequence([Grad(0,0.1)])

seq[2].ADC = [ADC(10,1)] #REPL output : 1-element Vector{ADC}:
 ADC(10, 1.0, 0.0, 0.0, 0.0)
seq[2].ADC # REPL output : 1-element Vector{ADC}:
 ADC(0, 0.0, 0.0, 0.0, 0.0)

seq += Sequence([Grad(0,0.1)],[RF(0,0.1);;],[ADC(10,1)])
seq[3].ADC # REPL output : 1-element Vector{ADC}:
 ADC(10, 1.0, 0.0, 0.0, 0.0)

I have the same issue if I try to edit the EXT field on my branch.

Environment

OS x86_64-apple-darwin24.0.0
Julia 1.11.2
KomaMRIPlots 0.9.1
KomaMRIFiles 0.9.1
KomaMRICore 0.9.1
KomaMRIBase 0.9.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions