-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Hello,
I'm trying to load a Pulseq file generated with https://github.com/fmrifrey/lps into Koma.jl. This produces the error:
julia> [ Info: Loading sequence lps.seq ...
use occursin(needle, haystack) for string containment
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:44
[2] in(::SubString{String}, ::String)
@ Base ./strings/search.jl:809
[3] read_extensions(io::IOStream, ext_string::SubString{String}, ext_type::Nothing, ext_id::Int64, extensionTypeLibrary::Dict{Any, Any}, extensionSpecLibrary::Dict{Any, Any}, required_extensions::String)
@ KomaMRIFiles ~/.julia/packages/KomaMRIFiles/mCkCM/src/Sequence/Pulseq.jl:160
[4] (::KomaMRIFiles.var"#read_seq##0#read_seq##1"{Dict{Any, Any}, Dict{Any, Any}})(io::IOStream)
@ KomaMRIFiles ~/.julia/packages/KomaMRIFiles/mCkCM/src/Sequence/Pulseq.jl:449
[5] open(f::KomaMRIFiles.var"#read_seq##0#read_seq##1"{Dict{Any, Any}, Dict{Any, Any}}, args::String; kwargs::@Kwargs{})
@ Base ./io.jl:410
[6] read_seq(filename::String)
@ KomaMRIFiles ~/.julia/packages/KomaMRIFiles/mCkCM/src/Sequence/Pulseq.jl:378
[7] callback_filepicker(filename::String, w::Blink.AtomShell.Window, seq::Sequence)
@ KomaMRI ~/.julia/packages/KomaMRI/i4er5/src/ui/ExportUIFunctions.jl:172
[8] (::KomaMRI.var"#127#128"{Blink.AtomShell.Window})(filename::String)
@ KomaMRI ~/.julia/packages/KomaMRI/i4er5/src/KomaUI.jl:283
[9] (::Observables.MapCallback)(value::Any)
@ Observables ~/.julia/packages/Observables/YdEbO/src/Observables.jl:436
[10] set_nosync(ob::Observables.Observable{Any}, val::String)
@ WebIO ~/.julia/packages/WebIO/8Xm9p/src/scope.jl:346
[11] dispatch(ctx::WebIO.Scope, key::String, data::String)
@ WebIO ~/.julia/packages/WebIO/8Xm9p/src/scope.jl:358
[12] dispatch_command(conn::Blink.AtomShell.WebIOBlinkComm, data::Dict{String, Any})
@ WebIO ~/.julia/packages/WebIO/8Xm9p/src/messaging.jl:104
[13] dispatch(conn::Blink.AtomShell.WebIOBlinkComm, data::Dict{String, Any})
@ WebIO ~/.julia/packages/WebIO/8Xm9p/src/messaging.jl:81
[14] (::Blink.AtomShell.var"#initwebio!##0#initwebio!##1"{Blink.AtomShell.WebIOBlinkComm})(msg::Dict{String, Any})
@ Blink.AtomShell ~/.julia/packages/Blink/tnO3a/src/AtomShell/webio.jl:29
[15] handle_message(o::Blink.Page, m::Dict{String, Any})
@ Blink ~/.julia/packages/Blink/tnO3a/src/rpc/callbacks.jl:7
[16] macro expansion
@ ~/.julia/packages/Lazy/9Xnd3/src/macros.jl:268 [inlined]
[17] ws_handler(ws::HTTP.WebSockets.WebSocket)
@ Blink ~/.julia/packages/Blink/tnO3a/src/content/server.jl:50
[18] (::Mux.var"#ws_handler##0#ws_handler##1"{Mux.App})(sock::HTTP.WebSockets.WebSocket)
@ Mux ~/.julia/packages/Mux/u4vsZ/src/server.jl:48
[19] upgrade(f::Mux.var"#ws_handler##0#ws_handler##1"{Mux.App}, http::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.Connections.Connection{Sockets.TCPSocket}}; suppress_close_error::Bool, maxframesize::Int64, maxfragmentation::Int64, nagle::Bool, quickack::Bool, kw::@Kwargs{})
@ HTTP.WebSockets ~/.julia/packages/HTTP/ShTJs/src/WebSockets.jl:427
[20] (::Mux.var"#10#11"{Mux.App, Mux.App})(http::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.Connections.Connection{Sockets.TCPSocket}})
@ Mux ~/.julia/packages/Mux/u4vsZ/src/server.jl:80
[21] handle_connection(f::Function, c::HTTP.Connections.Connection{Sockets.TCPSocket}, listener::HTTP.Servers.Listener{Nothing, Sockets.TCPServer}, readtimeout::Int64, access_log::Nothing, verbose::Bool)
@ HTTP.Servers ~/.julia/packages/HTTP/ShTJs/src/Servers.jl:469
[22] (::HTTP.Servers.var"#listenloop##0#listenloop##1"{Mux.var"#10#11"{Mux.App, Mux.App}, HTTP.Servers.Listener{Nothing, Sockets.TCPServer}, Set{HTTP.Connections.Connection}, Int64, Nothing, ReentrantLock, Bool, Base.Semaphore, HTTP.Connections.Connection{Sockets.TCPSocket}})()
@ HTTP.Servers ~/.julia/packages/HTTP/ShTJs/src/Servers.jl:400
I have attached the .seq file. Any help much appreciated.
Environment
OS arm64-apple-darwin24.0.0
Julia 1.12.5
KomaMRIPlots 0.9.6
KomaMRIFiles 0.9.9
KomaMRI 0.9.2
KomaMRICore 0.9.6
KomaMRIBase 0.9.8Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working