Skip to content

Commit

Permalink
Update deepcopy_off in easy_run.
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxIsCool committed Jan 16, 2024
1 parent 16703b3 commit 6a77fd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cadCAD/tools/execution/easy_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def easy_run(
assign_params: Union[bool, set] = True,
drop_substeps=True,
exec_mode='local',
deepcopy_off=False,
) -> pd.DataFrame:
"""
Run cadCAD simulations without headaches.
Expand All @@ -64,7 +65,7 @@ def easy_run(
_exec_mode = ExecutionMode().local_mode
elif exec_mode == 'single':
_exec_mode = ExecutionMode().single_mode
exec_context = ExecutionContext(_exec_mode)
exec_context = ExecutionContext(_exec_mode, additional_objs={'deepcopy_off': deepcopy_off})
executor = Executor(exec_context=exec_context, configs=configs)

# Execute the cadCAD experiment
Expand Down

0 comments on commit 6a77fd7

Please sign in to comment.