diff --git a/sisyphus/engine.py b/sisyphus/engine.py index d2d3b9b..e753ef1 100644 --- a/sisyphus/engine.py +++ b/sisyphus/engine.py @@ -1,6 +1,7 @@ # Author: Jan-Thorsten Peter import collections +import copy import logging import os import psutil @@ -72,7 +73,7 @@ def get_submit_history(self, task): return id_to_rqmt def add_defaults_to_rqmt(self, task, rqmt): - s = self.get_default_rqmt(task).copy() + s = copy.deepcopy(self.get_default_rqmt(task)) s.update(rqmt) return s