diff --git a/sfftk/__init__.py b/sfftk/__init__.py index 5dae6c5..c458492 100644 --- a/sfftk/__init__.py +++ b/sfftk/__init__.py @@ -3,4 +3,4 @@ BASE_DIR = os.path.dirname(__file__) -SFFTK_VERSION = 'v0.10.0.dev0' +SFFTK_VERSION = 'v0.10.1.dev0' diff --git a/sfftk/notes/find.py b/sfftk/notes/find.py index d3aa6e4..16fdaea 100644 --- a/sfftk/notes/find.py +++ b/sfftk/notes/find.py @@ -511,7 +511,7 @@ def _render(self): rendered_field = field.render(self._row_data, self._index) stripped_rendered_field = list(map(lambda f: f.strip(), rendered_field)) # we will strip all leading and trailing whitespace and join all wrapped lines - if str(field).strip() in ['description']: # the description needs spaces + if str(field).strip() in ['description', 'label']: # the description needs spaces rendered.append(' '.join(stripped_rendered_field).strip()) else: rendered.append(''.join(stripped_rendered_field)) diff --git a/sfftk/test_data/sff/v0.8/output_emd_1181.json b/sfftk/test_data/sff/v0.8/output_emd_1181.json index c112159..1b30083 100644 --- a/sfftk/test_data/sff/v0.8/output_emd_1181.json +++ b/sfftk/test_data/sff/v0.8/output_emd_1181.json @@ -45,15 +45,15 @@ "id": 15559, "parent_id": 0, "biological_annotation": { - "name": "employees village transformer", - "description": "Purusvestibulum nunc lorem quod. Vero iusto cum vitae, nullasuspendisse nibh ut.", - "number_of_instances": 7, + "name": "chairs liter transiting", + "description": "Vestibulumnulla iriure duimauris aliquip eos. At iaculis dignissim.", + "number_of_instances": 695, "external_references": [ { "id": 0, - "resource": "hashmark", - "url": "algebra", - "accession": "carelessness", + "resource": "caves", + "url": "turns", + "accession": "cautions", "label": null, "description": null } diff --git a/sfftk/test_data/sff/v0.8/output_emd_1181.sff b/sfftk/test_data/sff/v0.8/output_emd_1181.sff index 4c861e3..3ccce9e 100644 --- a/sfftk/test_data/sff/v0.8/output_emd_1181.sff +++ b/sfftk/test_data/sff/v0.8/output_emd_1181.sff @@ -28,12 +28,12 @@ - stumps purchases experts - Consectetuer nequeetiam nunc accusam auctormauris mus, elitvivamus interdum nihil at nostra gravida stet. Suspendisse magnis ipsum dignissim justo illum, labore sodalessed liber tempus consectetur curabitur vestibulumnulla urnamorbi augue. + funding touch logic + Pretium facilisi qui feliscras iriure, sed senectus tempus. Eu varius fringilla augue justo amet. - + - 660 + 355 0.921817600727081