shallow-copy the list of observers when creating a run
fixes
@@ -324,8 +324,9 @@ def create_run(experiment, command_name, config_updates=None,
post_runs = [pr for ing in sorted_ingredients for pr in ing.post_run_hooks]
run = Run(config, config_modifications, main_function,
- experiment.observers, root_logger, run_logger, experiment_info,
- host_info, pre_runs, post_runs, experiment.captured_out_filter)
+ copy(experiment.observers), root_logger, run_logger,
+ experiment_info, host_info, pre_runs, post_runs,
+ experiment.captured_out_filter)
if hasattr(main_function, 'unobserved'):
run.unobserved = main_function.unobserved
