-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
I am working on a pitot inlet case with back pressure as a variable in my run matrix. I make use of a CaseFunction definition in the RunMatrix to set the back pressure in my fun3d namelist:
"Definitions": {
pb": {
"Group": false,
"Type":"CaseFunction",
"Value":"float",
"Format": "%05.0f",
"CompID": ["inlet_bc"],
"Function": "advCape.SetBackPressure"
}
When I attempt to setup a case, I get two warnings and a KeyError in pyfun.cntl listed bellow:
'pyFun > RunMatrix > Definitions > pb' option 'CompID'
'pyFun > RunMatrix > Definitions > pb' option 'Function'
File "/home/agu/shared/software/python_libraries/cape-2.0.0/cape/pyfun/cntl.py", line 1039, in <listcomp>
funcs = [self.x.defns[key]['Function'] for key in keys]
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'Function'
Printing out self.x.defns['pb'] prior to the error shows that the dictionary does not include the Function or CompID.
Metadata
Metadata
Assignees
Labels
No labels