Skip to content

Commit 616fb3f

Browse files
committed
swc loadModel issue resolved
1 parent e66335b commit 616fb3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/rdesigneur/rdesigneur.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,10 +1229,10 @@ def _decorateWithSpines( self ):
12291229

12301230
def _loadElec( self, efile, elecname ):
12311231
if ( efile[ len( efile ) - 2:] == ".p" ):
1232-
self.elecid = moose.loadModel( efile, '/library/' + elecname)[0]
1232+
self.elecid = moose.loadModel( efile, '/library/' + elecname)
12331233
print(self.elecid)
12341234
elif ( efile[ len( efile ) - 4:] == ".swc" ):
1235-
self.elecid = moose.loadModel( efile, '/library/' + elecname)[0]
1235+
self.elecid = moose.loadModel( efile, '/library/' + elecname)
12361236
else:
12371237
nm = NeuroML()
12381238
print("in _loadElec, combineSegments = ", self.combineSegments)

0 commit comments

Comments
 (0)