Skip to content

Commit

Permalink
fix in fromListConn
Browse files Browse the repository at this point in the history
  • Loading branch information
vvbragin committed Aug 14, 2024
1 parent b68c2cb commit 9c63297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netpyne/network/conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ def fromListConn(self, preCellsTags, postCellsTags, connParam):
if 'loc' in connParam and isinstance(connParam['loc'], list):
connParam['locFromList'] = list(connParam['loc']) # if delay is a list, copy to locFromList

if connParam['synsPerConn'] == 1:
if connParam.get('synsPerConn', 1) == 1:
if isinstance(connParam.get('sec'), list):
connParam['secFromList'] = list(connParam['sec'])
else:
Expand Down

0 comments on commit 9c63297

Please sign in to comment.