Skip to content
Snippets Groups Projects

Pims tweaks

Merged Charlotte Hausman requested to merge pims_tweaks into main
1 unresolved thread
@@ -16,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with Workspaces. If not, see <https://www.gnu.org/licenses/>.
import datetime
import json
import logging
from typing import Callable, Dict, List
@@ -155,6 +156,9 @@ class WorkflowTemplate(JSONSerializable):
"""
# add some rendering helpers to the argument
render_helpers = {"make_condor_jobname": self.make_condor_jobname}
if "splits" in argument:
argument["splits"] = json.dumps(argument["splits"])
argument = {**render_helpers, **argument}
# render
Loading