Changeset 382

Show
Ignore:
Timestamp:
06/21/08 07:23:49 (5 months ago)
Author:
pierre
Message:

Fix a minor bug in the describe() function of nest2 when called with more than 1D populations

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/nest2/__init__.py

    r381 r382  
    909909        print "-> Cell Parameters used for cell[0] (during initialization and now) are: " 
    910910        for key, value in self.cellparams.items(): 
    911           print "\t|", key, "\t: ", "init->", value, "\t now->", nest.GetStatus([self.cell[0]])[0][key] 
     911          print "\t|", key, "\t: ", "init->", value, "\t now->", nest.GetStatus([self.cell.flatten()[0]])[0][key] 
    912912        print "--- End of Population description ----" 
    913913