Skip to content

Handle of non-standard label #624

@aTrotier

Description

@aTrotier

What happened?

When a non-standard label is used in the .seq format, we get an error in get_label function :

.seq : 139 1 IMA

ERROR: type AdcLabels has no field IMA
Stacktrace:
 [1] setproperty!(x::AdcLabels, f::Symbol, v::Int64)
   @ Base ./Base.jl:51
 [2] get_label(seq::Sequence, nBlocks::Int64)

This function should bypass the non-existing label (maybe just print a warning)

Environment

OS arm64-apple-darwin24.0.0
Julia 1.11.5
KomaMRIPlots 0.9.5
KomaMRIFiles 0.9.4
KomaMRI 0.9.2
KomaMRICore 0.9.5
KomaMRIBase 0.9.4

Metadata

Metadata

Assignees

No one assigned

    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