diff --git a/src/uk/ac/ebi/vfb/neo4j/KB_tools.py b/src/uk/ac/ebi/vfb/neo4j/KB_tools.py index 5f4de5a2..eb1f1331 100644 --- a/src/uk/ac/ebi/vfb/neo4j/KB_tools.py +++ b/src/uk/ac/ebi/vfb/neo4j/KB_tools.py @@ -1049,9 +1049,9 @@ def add_anatomy_image_set(self, o=anat_id['iri']) edge_annotations = {} - if index: edge_annotations['index'] = index - if center: edge_annotations['center'] = center - if image_filename: edge_annotations['filename'] = image_filename + if index: edge_annotations['index'] = [index] + if center: edge_annotations['center'] = [center] + if image_filename: edge_annotations['filename'] = [image_filename] if template == 'self': template = channel_id['short_form']