Skip to content

Write Pulseq

Write Pulseq #48

Triggered via pull request April 11, 2024 19:33
@beorosticabeorostica
synchronize #284
pulseq
Status Failure
Total duration 36m 48s
Artifacts

FormatCheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
code-style
Process completed with exit code 1.
code-style: KomaMRIBase/src/datatypes/sequence/Grad.jl#L172
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: KomaMRIBase/src/datatypes/sequence/Grad.jl:172:- if f == :x KomaMRIBase/src/datatypes/sequence/Grad.jl:173:- x[1,:] KomaMRIBase/src/datatypes/sequence/Grad.jl:174:- elseif f == :y && size(x,1) >= 2 KomaMRIBase/src/datatypes/sequence/Grad.jl:175:- x[2,:] KomaMRIBase/src/datatypes/sequence/Grad.jl:176:- elseif f == :z && size(x,1) >= 3 KomaMRIBase/src/datatypes/sequence/Grad.jl:177:- x[3,:] KomaMRIBase/src/datatypes/sequence/Grad.jl:178:- elseif f == :dur KomaMRIBase/src/datatypes/sequence/Grad.jl:179:- maximum(dur.(x), dims=1)[:] KomaMRIBase/src/datatypes/sequence/Grad.jl:180:- else KomaMRIBase/src/datatypes/sequence/Grad.jl:181:- getproperty.(x,f) KomaMRIBase/src/datatypes/sequence/Grad.jl:182:- end KomaMRIBase/src/datatypes/sequence/Grad.jl:203:+ if f == :x KomaMRIBase/src/datatypes/sequence/Grad.jl:204:+ x[1, :] KomaMRIBase/src/datatypes/sequence/Grad.jl:205:+ elseif f == :y && size(x, 1) >= 2 KomaMRIBase/src/datatypes/sequence/Grad.jl:206:+ x[2, :] KomaMRIBase/src/datatypes/sequence/Grad.jl:207:+ elseif f == :z && size(x, 1) >= 3 KomaMRIBase/src/datatypes/sequence/Grad.jl:208:+ x[3, :] KomaMRIBase/src/datatypes/sequence/Grad.jl:209:+ elseif f == :dur KomaMRIBase/src/datatypes/sequence/Grad.jl:210:+ maximum(dur.(x); dims=1)[:] KomaMRIBase/src/datatypes/sequence/Grad.jl:211:+ else KomaMRIBase/src/datatypes/sequence/Grad.jl:212:+ getproperty.(x, f) KomaMRIBase/src/datatypes/sequence/Grad.jl:213:+ end
code-style: KomaMRIBase/src/datatypes/sequence/RF.jl#L83
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: KomaMRIBase/src/datatypes/sequence/RF.jl:83:- if f == :Bx KomaMRIBase/src/datatypes/sequence/RF.jl:84:- real.(getproperty.(x,:A)) KomaMRIBase/src/datatypes/sequence/RF.jl:85:- elseif f == :By KomaMRIBase/src/datatypes/sequence/RF.jl:86:- imag.(getproperty.(x,:A)) KomaMRIBase/src/datatypes/sequence/RF.jl:87:- elseif f == :Δf KomaMRIBase/src/datatypes/sequence/RF.jl:88:- getproperty.(x,:Δf) KomaMRIBase/src/datatypes/sequence/RF.jl:89:- elseif f == :T || f == :delay KomaMRIBase/src/datatypes/sequence/RF.jl:90:- getproperty.(x[1,:],f) KomaMRIBase/src/datatypes/sequence/RF.jl:91:- elseif f == :dur KomaMRIBase/src/datatypes/sequence/RF.jl:92:- T, delay = x.T, x.delay KomaMRIBase/src/datatypes/sequence/RF.jl:93:- ΔT = [sum(t) for t=T] .+ delay KomaMRIBase/src/datatypes/sequence/RF.jl:94:- ΔT KomaMRIBase/src/datatypes/sequence/RF.jl:95:- else KomaMRIBase/src/datatypes/sequence/RF.jl:96:- getproperty.(x,f) KomaMRIBase/src/datatypes/sequence/RF.jl:97:- end KomaMRIBase/src/datatypes/sequence/RF.jl:91:+ if f == :Bx KomaMRIBase/src/datatypes/sequence/RF.jl:92:+ real.(getproperty.(x, :A)) KomaMRIBase/src/datatypes/sequence/RF.jl:93:+ elseif f == :By KomaMRIBase/src/datatypes/sequence/RF.jl:94:+ imag.(getproperty.(x, :A)) KomaMRIBase/src/datatypes/sequence/RF.jl:95:+ elseif f == :Δf KomaMRIBase/src/datatypes/sequence/RF.jl:96:+ getproperty.(x, :Δf) KomaMRIBase/src/datatypes/sequence/RF.jl:97:+ elseif f == :T || f == :delay KomaMRIBase/src/datatypes/sequence/RF.jl:98:+ getproperty.(x[1, :], f) KomaMRIBase/src/datatypes/sequence/RF.jl:99:+ elseif f == :dur KomaMRIBase/src/datatypes/sequence/RF.jl:100:+ T, delay = x.T, x.delay KomaMRIBase/src/datatypes/sequence/RF.jl:101:+ ΔT = [sum(t) for t in T] .+ delay KomaMRIBase/src/datatypes/sequence/RF.jl:102:+ ΔT KomaMRIBase/src/datatypes/sequence/RF.jl:103:+ else KomaMRIBase/src/datatypes/sequence/RF.jl:104:+ getproperty.(x, f) KomaMRIBase/src/datatypes/sequence/RF.jl:105:+ end
code-style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.