Advertisement
Guest User

Untitled

a guest
Jan 25th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. diff --git a/PyOpenWorm/neuron.py b/PyOpenWorm/neuron.py
  2. index d693f32..32b52e8 100644
  3. --- a/PyOpenWorm/neuron.py
  4. +++ b/PyOpenWorm/neuron.py
  5. @@ -82,7 +82,6 @@ class Connection(P.Property):
  6. int
  7. The number of connections matching the paramters given
  8. """
  9. - # XXX: Turn this into a COUNT query
  10. options = dict()
  11. options["pre"] = """
  12. ?x c:pre_cell ?z .
  13. @@ -163,16 +162,16 @@ class Neuron(Cell):
  14. def __init__(self, name=False, **kwargs):
  15. Cell.__init__(self,name=name,**kwargs)
  16. # Get neurons connected to this neuron
  17. - Neighbor(owner=self)
  18. + #Neighbor(owner=self)
  19. # Get connections from this neuron
  20. - Connection(owner=self)
  21. + #Connection(owner=self)
  22.  
  23. Neuron.DatatypeProperty("type",self, multiple=True)
  24. Neuron.DatatypeProperty("receptor", self, multiple=True)
  25. Neuron.DatatypeProperty("innexin", self, multiple=True)
  26. Neuron.DatatypeProperty("neurotransmitter", self, multiple=True)
  27. ### Aliases ###
  28. - self.get_neighbors = self.neighbor
  29. + #self.get_neighbors = self.neighbor
  30. self.receptors = self.receptor
  31.  
  32. def GJ_degree(self):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement