Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/uk/ac/ebi/vfb/neo4j/KB_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down