Skip to content

Commit

Permalink
[DATALAD RUNCMD] Do interactive fixing of some ambigous typos
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Jun 10, 2024
1 parent 9209e88 commit f530778
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ How do you know that you joined? well, you're here and you likely used PET2BIDS

## Contributing without writing a line of code

There are many ways you can contribute to the project without having to wite a single line of code!
There are many ways you can contribute to the project without having to write a single line of code!
- editing and updating the help/documentation is a fantastic contribution.
- making any tutorials, examples available is great too

Expand Down
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ ecatpet2bids for converting ecat data into nii & json
--nifti file_name, -n file_name
Name of nifti output file
--subheader, -s Display subheaders
--sidecar Output a bids formatted sidecar for pairing witha nifti.
--sidecar Output a bids formatted sidecar for pairing with a nifti.
--kwargs [KWARGS ...], -k [KWARGS ...]
Include additional values int the nifti sidecar json or override values extracted from the supplied nifti. e.g. including `--kwargs TimeZero='12:12:12'` would override the
calculated TimeZero. Any number of additional arguments can be supplied after --kwargs e.g. `--kwargs BidsVariable1=1 BidsVariable2=2` etc etc.
Expand Down
2 changes: 1 addition & 1 deletion matlab/dcm2niix4pet.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function dcm2niix4pet(FolderList,MetaList,varargin)
%.. note::
%
% See also get_pet_metadata.m to generate the metadata structure
% updatejsonpetfile to see how the json file gets updated and checked agains DICOM tags
% updatejsonpetfile to see how the json file gets updated and checked against DICOM tags
%
% | *Cyril Pernet 2022*
% | *Copyright Open NeuroPET team*
Expand Down
2 changes: 1 addition & 1 deletion matlab/get_pet_metadata.m
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
for opt = 1:length(setmetadata)
if contains(setmetadata{opt},'=')
try
eval(setmetadata{opt}); % shoul evaluate the = sign, creating name/value pairs
eval(setmetadata{opt}); % should evaluate the = sign, creating name/value pairs
if isempty(setmetadata{opt})
error('''%s'' from %sparameters.txt is empty\n',optional{opt},Scanner)
end
Expand Down
2 changes: 1 addition & 1 deletion pypet2bids/pypet2bids/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ optional arguments:
--nifti file_name, -n file_name
Name of nifti output file
--subheader, -s Display subheaders
--sidecar Output a bids formatted sidecar for pairing witha nifti.
--sidecar Output a bids formatted sidecar for pairing with a nifti.
--kwargs [KWARGS ...], -k [KWARGS ...]
Include additional values int the nifti sidecar json or
override values extracted from the supplied nifti. e.g.
Expand Down
2 changes: 1 addition & 1 deletion pypet2bids/pypet2bids/dcm2niix4pet.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"DEFAULT_METADATA_JSON", module_folder / "template_json.json"
)
# set the default metadata json to the template json included in this library in our environment so
# we don't trip up retrival of the default metadata json later
# we don't trip up retrieval of the default metadata json later
environ["DEFAULT_METADATA_JSON"] = str(module_folder / "template_json.json")
default_metadata_json = module_folder / "template_json.json"

Expand Down
4 changes: 2 additions & 2 deletions spreadsheet_conversion/blood/pmod/convert_pmod_to_blood.m
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ function convert_pmod_to_blood(varargin)
'blood sampling', ...
'manual', 'autosampler', 'both', 'manual');
if isempty(type)
warning('selection aborded - exiting'); return
warning('selection aborted - exiting'); return
end

outputname = inputdlg('please input the base name for the files to save');
if isempty(outputname)
warning('name aborded - exiting'); return
warning('name aborted - exiting'); return
else
outputname = fullfile(pathnames,cell2mat(outputname));
end
Expand Down

0 comments on commit f530778

Please sign in to comment.