|
Dear all, I am a new user. It looks like I have some problem in trying to steer the TargetVolume parameter in VolumeFlex Plugin during simulation. Every time I use self.volumeParseData=CompuCellSetup.getModuleParseData("VolumeFlex") in the "init" function of the steppable I define, the system always complains there is a ``KeyError: 'VolumeFlex'", which originates from line 744, in getModuleParseData of compucell3d/3.6.0/pythonSetupScripts/CompuCellSetup.py. I simply don't get it. Is there anything I am missing? Thanks, Ernest |
|
If you're willing to send us your actual model (.cc3d, .xml, .py files), that might be helpful (I'm heiland@indiana.edu; else rf. http://compucell3d.org/About/People). But I am curious where/how you decided to use the 'getModuleParseData("VolumeFlex"). Did you find it or something similar in one of the manuals or in a supplied demo model? Hi Randy, Thanks! I think I solved the problem. I figured out from one of the supplied demos that I have to use vfXMLData=self.simulator.getCC3DModuleData("Plugin","VolumeFlex"), followed by vfXMLData.getFirstElement("VolumeEnergyParameters",d2mss({"CellType":"Ep_down"})) to change the target volume in my xml. As for the initially (apparently incorrect) use of getModuleParseData("VolumeFlex"), I think I got it from one of the PDF presentations by Benjamin L. Zaitlen (Lecture 3 of Second Annual French Complex Systems Summer School). Thanks for your help, Ernie
(Apr 10 '12 at 23:06)
Ernie
|