data templates corrected
This commit is contained in:
@@ -37,7 +37,7 @@ def generate_batch_wise_templates(sessions, data, output_dir):
|
||||
lines = []
|
||||
for s in entries:
|
||||
tag = " (Lab)" if s["course_type"] == "lab" else (" (General)" if s["is_general"] else "")
|
||||
lines.append(f'{s["course_name"]}{tag}\n{s["instructor_name"]}\n{s["room_id"]}')
|
||||
lines.append(f'{s["course_name"]}{tag} [Sec {s["section_id"]}]\n{s["instructor_name"]}\n{s["room_id"]}')
|
||||
return "\n---\n".join(lines)
|
||||
|
||||
first_by_day_slot = {k: v[0] for k, v in by_day_slot.items()}
|
||||
|
||||
Reference in New Issue
Block a user