Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Pulseq #284

Open
wants to merge 128 commits into
base: master
Choose a base branch
from
Open

Write Pulseq #284

wants to merge 128 commits into from

Conversation

beorostica
Copy link
Contributor

@beorostica beorostica commented Jan 10, 2024

This pull request is meant to address issue #152

Copy link

codecov bot commented Jan 10, 2024

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (6469a10) 92.60% compared to head (cb07ea1) 93.64%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #284      +/-   ##
==========================================
+ Coverage   92.60%   93.64%   +1.03%     
==========================================
  Files          33       34       +1     
  Lines        2245     2500     +255     
==========================================
+ Hits         2079     2341     +262     
+ Misses        166      159       -7     
Flag Coverage Δ
base 92.56% <40.00%> (-0.12%) ⬇️
core 90.47% <ø> (ø)
files 96.77% <97.64%> (+4.42%) ⬆️
komamri 93.89% <ø> (ø)
plots 93.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
KomaMRIBase/src/datatypes/sequence/ADC.jl 97.36% <100.00%> (+2.49%) ⬆️
KomaMRIBase/src/datatypes/sequence/Grad.jl 91.37% <ø> (ø)
KomaMRIBase/src/datatypes/sequence/RF.jl 88.67% <100.00%> (+1.64%) ⬆️
KomaMRICore/src/KomaMRICore.jl 100.00% <ø> (ø)
KomaMRIFiles/src/KomaMRIFiles.jl 100.00% <ø> (ø)
KomaMRIFiles/src/Sequence/ReadPulseq.jl 95.55% <100.00%> (ø)
KomaMRIBase/src/datatypes/Sequence.jl 91.02% <0.00%> (-0.89%) ⬇️
KomaMRIFiles/src/Sequence/WritePulseq.jl 97.63% <97.63%> (ø)

@beorostica beorostica changed the title Translate Pulseq MATLAB to Julia Read-Write Pulseq Jan 25, 2024
@beorostica beorostica changed the title Read-Write Pulseq Write Pulseq Jan 25, 2024
@beorostica beorostica changed the title Write Pulseq Write Pulseq File Jan 25, 2024
@beorostica beorostica changed the title Write Pulseq File Write Pulseq Jan 25, 2024
@beorostica beorostica marked this pull request as ready for review January 25, 2024 14:24
@beorostica beorostica linked an issue Jan 25, 2024 that may be closed by this pull request
"""
For comparing two `Sequence`s custom types
"""
Base.isapprox(s1::Sequence, s2::Sequence) = begin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The syntax Base.isapprox instead of import Base: isapprox is not consistent with the rest of the code. Julia Blue (#187) recommends Base.isapprox, we need to choose one or the other.

KomaMRIFiles/test/runtests.jl Outdated Show resolved Hide resolved
KomaMRIFiles/test/runtests.jl Outdated Show resolved Hide resolved
KomaMRIFiles/src/Sequence/WritePulseq.jl Outdated Show resolved Hide resolved
KomaMRIFiles/src/Sequence/WritePulseq.jl Outdated Show resolved Hide resolved
KomaMRIFiles/src/Sequence/WritePulseq.jl Outdated Show resolved Hide resolved
KomaMRIFiles/src/Sequence/WritePulseq.jl Outdated Show resolved Hide resolved
Copy link
Member

@cncastillo cncastillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not modify the reader, and remove aux functions, as we have discussed multiple times.

KomaMRIFiles/src/Sequence/ReadPulseq.jl Outdated Show resolved Hide resolved
@cncastillo cncastillo self-assigned this May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write Pulseq files
3 participants