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.
2 parents 1b8de7a + d62c468 commit 30df9beCopy full SHA for 30df9be
runner.py
@@ -147,7 +147,7 @@ def is_ht_enabled():
147
if gpu_processes != '':
148
print(f'There are running processes on GPU:\n{gpu_processes}',
149
file=sys.stderr)
150
- except FileNotFoundError:
+ except (FileNotFoundError, json.JSONDecodeError):
151
pass
152
153
# get python packages info from conda
@@ -161,7 +161,7 @@ def is_ht_enabled():
161
if col in pkg.keys():
162
pkg_info.update({col: pkg[col]})
163
json_result['software'].update({pkg['name']: pkg_info})
164
-except FileNotFoundError:
+except (FileNotFoundError, json.JSONDecodeError):
165
166
167
batch = time.strftime('%Y-%m-%dT%H:%M:%S%z')
0 commit comments