login about faq

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

asked Apr 08 '12 at 03:06

Ernie's gravatar image

Ernie
1111


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?

link

answered Apr 10 '12 at 11:38

Randy%20Heiland's gravatar image

Randy Heiland
557113

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×15
×4
×1

Asked: Apr 08 '12 at 03:06

Seen: 333 times

Last updated: Apr 10 '12 at 23:06

powered by OSQA