Skip to content

Commit

Permalink
1221
Browse files Browse the repository at this point in the history
  • Loading branch information
tian50 committed Dec 22, 2020
1 parent 3eef2fe commit 5cbea24
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 @@ -173,7 +173,11 @@ def substitute(
params[label] = dv

if not proc_func is None:
proc_func(params)
if type(proc_func).__name__ == 'list':
for pf in proc_func:
pf(params)
else:
proc_func(params)
# print(params)


Expand Down

0 comments on commit 5cbea24

Please sign in to comment.