Skip to content

Commit

Permalink
Spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Nov 4, 2024
1 parent 407b957 commit 24a1bcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/_static/dictionary-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ DICOMDIR
DICOMDIRs
DOI
DRMAA
DataFrame
DataSource
Datatypes
Dcm2niix
Expand Down Expand Up @@ -63,6 +64,7 @@ Manpages
Mateusz
Multi
NIfTI
NeuroBS
NeuroStars
Neurodesk
Neurodesktop
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ In short, the purpose of the plugin is to interact with the data, by providing t
- **bidsmapper_plugin()**: From a given session folder, identify the different runs (source datatypes) and, if they haven't been discovered yet, add them to the study bidsmap
- **bidscoiner_plugin()**: From a given session folder, identify the different runs (source datatypes) and convert them to BIDS output files using the mapping data specified in the runitem

Optionally, a ``EventsParser()`` class can be defined to convert stimulus presentation log data to task events files. This class inherits from the equally named class in the ``bids`` library, and should add code to make an initial parsing of the source data to a Pandas dataframe (table).
Optionally, a ``EventsParser()`` class can be defined to convert stimulus presentation log data to task events files. This class inherits from the equally named class in the ``bids`` library, and should add code to make an initial parsing of the source data to a Pandas DataFrame (table).

The above API is illustrated in more detail in the placeholder Python code below. For real world examples you best first take a look at the nibabel2bids plugin, which exemplifies a clean and fairly minimal implementation of the required functionality. A similar, but somewhat more elaborated implementation (supporting multiple dataformats) can be found in the spec2nii2bids plugin. Finally, the dcm2niix2bids plugin is the more complicated example, due to the logic needed to deal with special output files and various irregularities.

Expand Down

0 comments on commit 24a1bcf

Please sign in to comment.