Skip to content

Commit

Permalink
STY: Codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed May 30, 2024
1 parent 9f17357 commit 4d1352a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ skip = .git,*.pdf,*.svg,external
# ALS, FWE - neuroimaging specific abbrevs
# Comision - foreign word used
# expad - AFNI flag
ignore-words-list = te,inport,objekt,jist,nd,hel,inout,fith,whos,fot,ue,shs,smal,nam,filetest,suh,noo,reson,als,fwe,crasher,comision,afile,expad
ignore-words-list = te,inport,objekt,jist,nd,hel,inout,fith,whos,fot,ue,shs,smal,nam,filetest,suh,noo,reson,als,fwe,crasher,comision,afile,expad,burnin
2 changes: 1 addition & 1 deletion nipype/interfaces/freesurfer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2821,7 +2821,7 @@ def _format_arg(self, name, spec, value):
if name in ["in_T1", "in_aseg"]:
# These inputs do not take full paths as inputs or even basenames
basename = os.path.basename(value)
# whent the -mgz flag is specified, it assumes the mgz extension
# when the -mgz flag is specified, it assumes the mgz extension
if self.inputs.mgz:
prefix = os.path.splitext(basename)[0]
else:
Expand Down
2 changes: 1 addition & 1 deletion nipype/pipeline/plugins/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def _get_args(self, node, keywords):
def _submit_graph(self, pyfiles, dependencies, nodes):
"""
pyfiles: list of files corresponding to a topological sort
dependencies: dictionary of dependencies based on the toplogical sort
dependencies: dictionary of dependencies based on the topological sort
"""
raise NotImplementedError

Expand Down
2 changes: 1 addition & 1 deletion nipype/utils/docparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def insert_doc(doc, new_items):
Parameters
----------
doc : str
The existing docstring we're inserting docmentation into.
The existing docstring we're inserting documentation into.
new_items : list
List of strings to be inserted in the ``doc``.
Expand Down
2 changes: 1 addition & 1 deletion nipype/utils/matlabtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def mlab_tempfile(dir=None):
# infinite loop for some strange reason, we only try 100 times.
for n in range(100):
f = tempfile.NamedTemporaryFile(suffix=".m", prefix="tmp_matlab_", dir=dir)
# Check the file name for matlab compilance
# Check the file name for matlab compliance
fname = os.path.splitext(os.path.basename(f.name))[0]
if valid_name.match(fname):
break
Expand Down

0 comments on commit 4d1352a

Please sign in to comment.