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 08def18 commit 2080652Copy full SHA for 2080652
pydra/engine/audit.py
@@ -186,11 +186,12 @@ 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
190
- # name of the executable
+ # take the first word of command as the
+ # name of the executable
191
# (this may not always be the case)
192
- version_cmd = sp.run(software, shell=True,
193
- stdout=sp.PIPE).stdout.decode("utf-8")
+ version_cmd = sp.run(software, shell=True, stdout=sp.PIPE).stdout.decode(
+ "utf-8"
194
+ )
195
try:
196
version_cmd = version_cmd.splitlines()[0]
197
0 commit comments