Skip to content

Commit

Permalink
0325
Browse files Browse the repository at this point in the history
  • Loading branch information
tian50 committed Mar 25, 2021
1 parent 1247038 commit 900457b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dakota_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,13 @@ def process(fn_json_args):
args = pp[1:]
if fn == 'self':
r = bps[args[1]]
inter[args[1]] = bps[args[1]]
else:
r = eval(f'dpf.{fn}')(interface_args, params, bps, inter, *args)
results[rn].function = r
# results[rn].function = r
for rn in results.descriptors:
if rn in inter.keys():
results[rn].function = inter[rn]

elif type(interface_args['post_process']).__name__ == 'dict':
# Location of the origin relative to a ref point
Expand Down

0 comments on commit 900457b

Please sign in to comment.