From b48a65639761d624791f03d82e9104d89454c163 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Tue, 3 Oct 2023 22:25:07 -0500 Subject: [PATCH] Allow entrypoint action for script action --- src/sos/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sos/actions.py b/src/sos/actions.py index 793ab7a6a..ac571c5d4 100644 --- a/src/sos/actions.py +++ b/src/sos/actions.py @@ -739,7 +739,7 @@ def sos_run(workflow=None, targets=None, shared=None, args=None, source=None, ** env.sos_dict.set("step_name", my_name) -@SoS_Action(acceptable_args=["script", "interpreter", "suffix", "args"]) +@SoS_Action(acceptable_args=["script", "interpreter", "entrypoint", "suffix", "args"]) def script(script, interpreter="", suffix="", args="", entrypoint="", **kwargs): """Execute specified script using specified interpreter. This action accepts common action arguments such as input, active, workdir, docker_image and args. In particular,