Skip to content

Commit f5a6e5f

Browse files
name
1 parent 3551141 commit f5a6e5f

File tree

1 file changed

+4
-0
lines changed
  • snakemake_interface_software_deployment_plugins

1 file changed

+4
-0
lines changed

snakemake_interface_software_deployment_plugins/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ class ShellExecutable:
140140
args: List[str]
141141
command_arg: str
142142

143+
@property
144+
def name(self) -> str:
145+
return Path(self.executable).name
146+
143147
def run(self, cmd: str, **kwargs) -> sp.CompletedProcess:
144148
return sp.run(
145149
[self.executable] + self.args + [self.command_arg, cmd], **kwargs

0 commit comments

Comments
 (0)