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

codespell: add config and action to codespell the code to avoid known typos #126

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[DATALAD RUNCMD] run codespell throughout
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Jul 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 4a249c026c2a4ecb36b6235fd197a5d15ee7195f
2 changes: 1 addition & 1 deletion pypulseq/Sequence/sequence.py
Original file line number Diff line number Diff line change
@@ -882,7 +882,7 @@ def plot(

Parameters
----------
label : str, defualt=str()
label : str, default=str()
Plot label values for ADC events: in this example for LIN and REP labels; other valid labes are accepted as
a comma-separated list.
save : bool, default=False
2 changes: 1 addition & 1 deletion pypulseq/seq_examples/scripts/write_MPRAGE.py
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ def main(plot: bool, write_seq: bool, seq_filename: str = "mprage_pypulseq.seq")

# Calculate timing of the fast loop. We will have two blocks in the inner loop:
# 1: spoilers/rewinders + RF
# 2: prewinder, phase enconding + readout
# 2: prewinder, phase encoding + readout
rf.delay = pp.calc_duration(gro_Sp, gpe1, gpe2)
gro_pre, _, _ = pp.align(right=[gro_pre, gpe1, gpe2])
gro1.delay = pp.calc_duration(gro_pre)