diff --git a/src/sparc/curation/tools/definitions.py b/src/sparc/curation/tools/definitions.py index 64a050a..dfa1627 100644 --- a/src/sparc/curation/tools/definitions.py +++ b/src/sparc/curation/tools/definitions.py @@ -18,13 +18,13 @@ MANIFEST_FILENAME = 'manifest.xlsx' ADDITIONAL_TYPES_COLUMN = 'additional types' -ANATOMICAL_ENTITY_COLUMN = 'isAboutAnatomicalEntity' -DERIVED_FROM_COLUMN = 'isDerivedFrom' +ANATOMICAL_ENTITY_COLUMN = 'IsAboutAnatomicalEntity' +DERIVED_FROM_COLUMN = 'IsDerivedFrom' FILE_LOCATION_COLUMN = 'file_location' FILENAME_COLUMN = 'filename' MANIFEST_DIR_COLUMN = 'manifest_dir' SHEET_NAME_COLUMN = 'sheet_name' -SOURCE_OF_COLUMN = 'isSourceOf' +SOURCE_OF_COLUMN = 'IsSourceOf' SUPPLEMENTAL_JSON_COLUMN = 'Supplemental JSON Metadata' MIMETYPE_TO_FILETYPE_MAP = { diff --git a/tests/test_scaffold_annotations.py b/tests/test_scaffold_annotations.py index 9c813c9..934bc16 100644 --- a/tests/test_scaffold_annotations.py +++ b/tests/test_scaffold_annotations.py @@ -105,9 +105,9 @@ def test_annotate_bare_scaffold_multiple_views_thumbnails(self): self.assertEqual(0, len(remaining_errors)) self.assertEqual('rat_brainstem_Layout1_view.json', df['filename'][1]) - self.assertEqual('rat_brainstem_Layout1_thumbnail.jpeg', df['isSourceOf'][1]) + self.assertEqual('rat_brainstem_Layout1_thumbnail.jpeg', df['IsSourceOf'][1]) self.assertEqual('rat_brainstem_Layout2_view.json', df['filename'][4]) - self.assertEqual('rat_brainstem_Layout2_thumbnail.jpeg', df['isSourceOf'][4]) + self.assertEqual('rat_brainstem_Layout2_thumbnail.jpeg', df['IsSourceOf'][4]) def test_annotate_bare_multiple_scaffolds(self): dulwich_checkout(self._repo, b"origin/no_scaffold_annotations_multiple_scaffolds")