You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/development/development.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,9 @@ There are various ways to contribute to SpikeInterface as a user or developer. S
17
17
We use a forking workflow <https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow>_ to manage contributions. Here's a summary of the steps involved, with more details available in the provided link:
18
18
19
19
* Fork the SpikeInterface repository.
20
-
* Create a new branch (e.g., :code:git switch -c my-contribution).
20
+
* Create a new branch (e.g., :code:`git switch -c my-contribution`).
21
21
* Modify the code, commit, and push changes to your fork.
22
-
* Open a pull request from the "Pull Requests" tab of your fork to :code:spikeinterface/main.
22
+
* Open a pull request from the "Pull Requests" tab of your fork to :code:`spikeinterface/main`.
23
23
* By following this process, we can review the code and even make changes as necessary.
24
24
25
25
While we appreciate all the contributions please be mindful of the cost of reviewing pull requests <https://rgommers.github.io/2019/06/the-cost-of-an-open-source-contribution/>_ .
@@ -164,7 +164,7 @@ As described in the `black documentation <https://black.readthedocs.io/en/stable
164
164
165
165
The following are some styling conventions that we follow in SpikeInterface:
166
166
167
-
#. Avoid using abreviations in variable names (e.g., use :code:`recording` instead of :code:`rec`). It is specially important to avoid single letter variables.
167
+
#. Avoid using abreviations in variable names (e.g., use :code:`recording` instead of :code:`rec`). It is especially important to avoid single letter variables.
168
168
#. Use index as singular and indices for plural following Numpy. Avoid idx or indexes. Plus, id and ids are reserved for identifiers (i.e. channel_ids)
169
169
#. We use file_path and folder_path (instead of file_name and folder_name) for clarity.
170
170
#. Use the `numpy docstring standard <https://numpydoc.readthedocs.io/en/latest/format.html#numpydoc-docstring-guide>`_ in all the docstrings.
@@ -210,7 +210,7 @@ Once that is done, the new class can be easily wrapped into SpikeInterface as an
210
210
code (e.g., see reader for `SpikeGLX <https://github.com/SpikeInterface/spikeinterface/blob/0.96.1/spikeinterface/extractors/neoextractors/spikeglx.py>`_
211
211
or `Neuralynx <https://github.com/SpikeInterface/spikeinterface/blob/0.96.1/spikeinterface/extractors/neoextractors/neuralynx.py>`_).
212
212
213
-
**NOTE:** implementing a `neo.rawio` Class is not required, but recommended. Several extractors (especially) for Sorting
213
+
**NOTE:** implementing a `neo.rawio` Class is not required, but recommended. Several extractors (especially) for :code:`Sorting`
214
214
objects are implemented directly in SpikeInterface and inherit from the base classes.
215
215
As examples, see the `CompressedBinaryIblExtractor <https://github.com/SpikeInterface/spikeinterface/blob/0.96.1/spikeinterface/extractors/cbin_ibl.py>`_
216
216
for a :py:class:`~spikeinterface.core.BaseRecording` object, or the `SpykingCircusSortingExtractor <https://github.com/SpikeInterface/spikeinterface/blob/0.96.1/spikeinterface/extractors/spykingcircusextractors.py>`_
It is also sometimes useful to have local copies of :code:`neo` and :code:`probeinterface` to make changes to the code. To achieve this, repeat the first set of commands,
65
+
It is also sometimes useful to have local copies of :code:`neo` and :code:`probeinterface` to make changes to the code. To achieve this, repeat the first set of commands,
66
66
replacing `https://github.com/SpikeInterface/spikeinterface.git` with the appropriate repository in the first code block of this section.
0 commit comments