Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Aug 19, 2024
1 parent 458e041 commit 95511e6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions NetPyNE/TwoCells/reload2.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
cfg.validateNetParams = True
cfg.verbose = True


for cell in netParams_dict['cellParams']:
for sec in netParams_dict['cellParams'][cell]['secs']:
if len(netParams_dict['cellParams'][cell]['secs'][sec]['ions'])==0:
Expand All @@ -48,8 +49,16 @@
print(' - simConfig (%s) with keys: \n %s'%(type(cfg),cfg.todict().keys()))
print(' - netParams (%s) with keys: \n %s'%(type(netParams),netParams.todict().keys()))




import netpyne
#netpyne.sim.validator.validateNetParams = lambda a: (False, False)

from netpyne.sim.validator import validateNetParams

print('==============================')
validateNetParams(netParams)
print('==============================')

print('> Done...')

0 comments on commit 95511e6

Please sign in to comment.