Skip to content

Commit

Permalink
fix flake8 check
Browse files Browse the repository at this point in the history
  • Loading branch information
WeinaJi committed Aug 8, 2023
1 parent cf8625c commit b7d4cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurodamus/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def get_edge_managers(self, source, destination):

def get_edge_manager(self, source, destination, conn_type=SynapseRuleManager):
managers = [manager for manager in self.get_edge_managers(source, destination)
if type(manager) == conn_type]
if isinstance(manager, conn_type)]
return managers[0] if managers else None

def get_create_edge_manager(self, conn_type, source, destination, src_target,
Expand Down

0 comments on commit b7d4cde

Please sign in to comment.