We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e57edb7 commit 69e7c20Copy full SHA for 69e7c20
micall/utils/analyze_kive_batches/make_stats.py
@@ -296,7 +296,7 @@ def get_stats(info_file: Path) -> Optional[Row]:
296
start_time = obj['start_time']
297
end_time = obj['end_time']
298
run_time = calculate_seconds_between(start_time, end_time)
299
- category = app_name.replace(':', '-') \
+ safe_app = app_name.replace(':', '-') \
300
.replace('/', '-') \
301
.replace(' ', '-') \
302
.replace('--', '-') \
@@ -312,7 +312,7 @@ def get_stats(info_file: Path) -> Optional[Row]:
312
logger.warning("Cannot determine sample name for run %r.", run_id)
313
sample = None
314
315
- o['app'] = category
+ o['app'] = safe_app
316
o['run_time'] = run_time
317
o["sample"] = sample
318
o["run_id"] = run_id
0 commit comments