From 219d08ad7bbc2878e7915314fda92bff6a4c8362 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sat, 5 Dec 2015 10:35:11 -0600 Subject: [PATCH] Fix errant docstring --- doc/README.md | 5 +++-- skimage/feature/texture.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/README.md b/doc/README.md index 372d84e5..d9fec89a 100644 --- a/doc/README.md +++ b/doc/README.md @@ -25,9 +25,10 @@ sudo tlmgr install ucs dvipng ## Fixing Warnings ## - "citation not found: R###" - $ cd doc/build; grep -rin R### . There is probably an underscore after a reference - in the first line of a docstring (e.g. [1]_) + in the first line of a docstring (e.g. [1]_). + Use this method to find the source file: + $ cd doc/build; grep -rin R#### - "Duplicate citation R###, other instance in..."" There is probably a [2] without a [1] in one of diff --git a/skimage/feature/texture.py b/skimage/feature/texture.py index c26eb59d..4be6c749 100644 --- a/skimage/feature/texture.py +++ b/skimage/feature/texture.py @@ -298,7 +298,7 @@ def local_binary_pattern(image, P, R, method='default'): def multiblock_lbp(int_image, r, c, width, height): - """Multi-block local binary pattern (MB-LBP) [1]_. + """Multi-block local binary pattern (MB-LBP). The features are calculated similarly to local binary patterns (LBPs), (See :py:meth:`local_binary_pattern`) except that summed blocks are