owmeta
owmeta copied to clipboard
Fix muscle innervation test in the README doc tests
This test was taken out of the readme to get a build to work, but needs to be put back in
See what neurons innervate a muscle::
>>> mdr21 = P.Muscle('MDR21') >>> innervates_mdr21 = mdr21.innervatedBy() >>> len(innervates_mdr21) 4
To do this as written, requires to
- add
muscle.neurons(aliased to innervatedBy) relationships in addition to the existingConnections with muscle termination, or - write a property that does the query on
Connections. This is essentiallyNeighborinPyOpenWorm.neuron. Could even move neighbor up into cell.