Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
Change-Id: I6bf40899e0def71b9088dbf3191a77481362bd74
  • Loading branch information
AvidusMauch authored and phispilger committed Jun 16, 2021
1 parent b57df34 commit 024fffb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions brainscales2/pynn_brainscales/brainscales2/projections.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def add_to_network_graph(populations: List[Population],
post_mask[conn.postsynaptic_index],
int(conn.weight))
for conn in projection.connections]
# get receptor type

if projection.receptor_type == "excitatory":
receptor_type = grenade.Projection.ReceptorType.excitatory
elif projection.receptor_type == "inhibitory":
Expand All @@ -164,10 +164,10 @@ def add_to_network_graph(populations: List[Population],
raise NotImplementedError(
"grenade.Projection.RecetorType does "
+ f"not support {projection.receptor_type}.")
# create grenade projection

gprojection = grenade.Projection(
receptor_type, connections, population_pre, population_post)
# add to builder

return builder.add(gprojection)


Expand Down

0 comments on commit 024fffb

Please sign in to comment.