AnatomicMaps / functional-connectivity

0 stars 3 forks source link

Connector has no parent error #6

Closed keeran97 closed 1 year ago

keeran97 commented 1 year ago

There are a class of errors relating to the 5 lines mentioned in Issue 44. The initial error mentioned has been resolved but there is a Connector has no parent that I am unsure how to fix. What does it mean by parent? Seems like it is another issue due to the line connectors not in a FTU/system/organ.

2023-03-31 10:40:25,168 ERROR: Connector has no parent: Shape cardiorespiratory/slide-01/98: {'shape-name': 'Google Shape;1172;p1', 'shape-kind': 'ellipse', 'cd-class': 'celldl:Connector', 'name': ''}
2023-03-31 10:40:25,168 ERROR: Connector has no parent: Shape cardiorespiratory/slide-01/105: {'shape-name': 'Google Shape;1181;p1', 'shape-kind': 'ellipse', 'cd-class': 'celldl:Connector', 'name': ''}
2023-03-31 10:40:25,169 ERROR: Connector has no parent: Shape cardiorespiratory/slide-01/118: {'shape-name': 'Google Shape;1190;p1', 'shape-kind': 'ellipse', 'cd-class': 'celldl:Connector', 'name': ''}
2023-03-31 10:40:25,169 ERROR: Connector has no parent: Shape cardiorespiratory/slide-01/67: {'shape-name': 'Google Shape;1120;p1', 'shape-kind': 'ellipse', 'cd-class': 'celldl:Connector', 'name': ''}
2023-03-31 10:40:25,169 ERROR: Connector has no parent: Shape cardiorespiratory/slide-01/85: {'shape-name': 'Google Shape;1138;p1', 'shape-kind': 'ellipse', 'cd-class': 'celldl:Connector', 'name': ''}

Just wanting to confirm what the cause is and if it can be resolved. I have tried various things but cannot clear the error.

dbrnz commented 1 year ago

As the comment for issue #44 says, it is because the connectors are outside of a system/organ/FTU. A future release of mapmaker will address this type of error and at the moment they can be safely ignored.