We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aff250 commit 08def18Copy full SHA for 08def18
pydra/engine/audit.py
@@ -186,10 +186,11 @@ def audit_task(self, task):
186
if command is not None:
187
cmd_name = command.split()[0]
188
software = f"{cmd_name} --version"
189
- # take the first word of command as the name of the executable (this may not always be the case)
190
- version_cmd = sp.run(software, shell=True, stdout=sp.PIPE).stdout.decode(
191
- "utf-8"
192
- )
+ # take the first word of command as the
+ # name of the executable
+ # (this may not always be the case)
+ version_cmd = sp.run(software, shell=True,
193
+ stdout=sp.PIPE).stdout.decode("utf-8")
194
try:
195
version_cmd = version_cmd.splitlines()[0]
196
0 commit comments