Skip to content

Commit 69e7c20

Browse files
committed
rename category to safe_app
1 parent e57edb7 commit 69e7c20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

micall/utils/analyze_kive_batches/make_stats.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def get_stats(info_file: Path) -> Optional[Row]:
296296
start_time = obj['start_time']
297297
end_time = obj['end_time']
298298
run_time = calculate_seconds_between(start_time, end_time)
299-
category = app_name.replace(':', '-') \
299+
safe_app = app_name.replace(':', '-') \
300300
.replace('/', '-') \
301301
.replace(' ', '-') \
302302
.replace('--', '-') \
@@ -312,7 +312,7 @@ def get_stats(info_file: Path) -> Optional[Row]:
312312
logger.warning("Cannot determine sample name for run %r.", run_id)
313313
sample = None
314314

315-
o['app'] = category
315+
o['app'] = safe_app
316316
o['run_time'] = run_time
317317
o["sample"] = sample
318318
o["run_id"] = run_id

0 commit comments

Comments
 (0)