pybel / pybel-notebooks

Notebooks demonstrating the usage of PyBEL and PyBEL Tools
Apache License 2.0
8 stars 4 forks source link

Converting single node to list in pybel.struct.mutation.get_subgraph_by_neighborhood #15

Closed VitaminBrad closed 2 years ago

VitaminBrad commented 5 years ago

Currently pybel.struct.mutation.get_subgraph_by_neighborhood doesn't accept a single node for the node argument.

Simple fix: convert node to list with node as only element