Skip to content

Commit 70dace5

Browse files
alejoe91zm711
andauthored
Apply suggestions from code review
Co-authored-by: Zach McKenzie <92116279+zm711@users.noreply.github.com>
1 parent b61f837 commit 70dace5

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/spikeinterface/core/sortinganalyzer.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ def set_unit_property(
753753
Set property vector for unit ids.
754754
755755
If the SortingAnalyzer backend is in memory, the property will be only set in memory.
756-
If the SortingAnalyzer backend is in binary_folder or zarr, the property will also
756+
If the SortingAnalyzer backend is `binary_folder` or `zarr`, the property will also
757757
be saved to to the backend.
758758
759759
Parameters
@@ -763,12 +763,12 @@ def set_unit_property(
763763
values : np.array
764764
Array of values for the property
765765
ids : list/np.array, default: None
766-
List of subset of ids to set the values, default: None
767-
if None which is the default all the ids are set or changed
768-
missing_value : object, default: None
766+
List of subset of ids to set the values.
767+
if None all the ids are set or changed
768+
missing_value : Any, default: None
769769
In case the property is set on a subset of values ("ids" not None),
770-
it specifies the how the missing values should be filled.
771-
The missing_value has to be specified for types int and unsigned int.
770+
This argument specifies how to fill missing values
771+
The `missing_value` is required for types int and unsigned int.
772772
"""
773773
self.sorting.set_property(key, values, ids=ids, missing_value=missing_value)
774774
if not self.is_read_only():

0 commit comments

Comments
 (0)