openworm / owmeta

Unified, simple data access python library for data & facts about C. elegans anatomy
MIT License
152 stars 49 forks source link

implement Neuron.get_connections #4

Closed slarson closed 10 years ago

slarson commented 10 years ago

Spec is:

"""Get a list of Connections between this neuron and other neurons.  
    :param type: What kind of junction to look for.  
                    0=all, 1=gap junctions only, 2=all chemical synapses
                    3=incoming chemical synapses, 4=outgoing chemical synapses
       :returns: a list of PyOpenWorm.Connection objects
       :rtype: List
       """

Stub is here: https://github.com/openworm/PyOpenWorm/blob/master/PyOpenWorm/neuron.py#L386

mwatts15 commented 10 years ago

Connections are from neighboring neurons, no?

slarson commented 10 years ago

Correct!

On Wed, May 7, 2014 at 10:08 PM, mwatts15 notifications@github.com wrote:

Connections are from neighboring neurons, no?

— Reply to this email directly or view it on GitHubhttps://github.com/openworm/PyOpenWorm/issues/4#issuecomment-42513737 .