From 47a4a743f295f628b96e16a2e463e16d668a4a1b Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Thu, 7 May 2020 09:13:30 -0400 Subject: [PATCH 1/2] BUG: Fix escape character --- nibabel/cifti2/cifti2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nibabel/cifti2/cifti2.py b/nibabel/cifti2/cifti2.py index f1886d4066..81e248930c 100644 --- a/nibabel/cifti2/cifti2.py +++ b/nibabel/cifti2/cifti2.py @@ -171,7 +171,7 @@ def _to_xml_element(self): class Cifti2LabelTable(xml.XmlSerializable, MutableMapping): - """ CIFTI-2 label table: a sequence of ``Cifti2Label``\s + """ CIFTI-2 label table: a sequence of ``Cifti2Label``\\s * Description - Used by NamedMap when IndicesMapToDataType is "CIFTI_INDEX_TYPE_LABELS" in order to associate names and display colors From fcef51156315c4b9f304d0e168edd17ca1d56d85 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Wed, 13 May 2020 14:32:25 -0400 Subject: [PATCH 2/2] FIX: r --- nibabel/cifti2/cifti2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nibabel/cifti2/cifti2.py b/nibabel/cifti2/cifti2.py index 81e248930c..c83c991573 100644 --- a/nibabel/cifti2/cifti2.py +++ b/nibabel/cifti2/cifti2.py @@ -171,7 +171,7 @@ def _to_xml_element(self): class Cifti2LabelTable(xml.XmlSerializable, MutableMapping): - """ CIFTI-2 label table: a sequence of ``Cifti2Label``\\s + r""" CIFTI-2 label table: a sequence of ``Cifti2Label``\s * Description - Used by NamedMap when IndicesMapToDataType is "CIFTI_INDEX_TYPE_LABELS" in order to associate names and display colors