Skip to content

Commit 4ca6318

Browse files
authored
Merge pull request #672 from JHKru/master
Docstrings for 'set_annotation': Remove 'None' as input type for 'array'.
2 parents 241655b + dfc1e5c commit 4ca6318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/biotite/structure/atoms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def set_annotation(self, category, array):
157157
----------
158158
category : str
159159
The annotation category to be set.
160-
array : ndarray or None
160+
array : ndarray
161161
The new value of the annotation category. The size of the
162162
array must be the same as the array length.
163163

0 commit comments

Comments
 (0)