write master timetable to xlsx
This commit is contained in:
3 files changed
+37
-3
No files matched your search
@@ -2,11 +2,12 @@
|
||||
import eel
|
||||
import os
|
||||
import json
|
||||
|
||||
from app.util.convertRawData import putScheduleToWord, putMasterTimetable
|
||||
from app.generator import generateScheduleV3
|
||||
from app.util.globals import Error
|
||||
from app.util.courses import getCourses, writeCoursesToCSV
|
||||
from app.util.students import getStudents, writeStudentsToCSV
|
||||
from app.util.convertRawData import putScheduleToWord, putMasterTimetable
|
||||
|
||||
eel.init('template')
|
||||
|
||||
@@ -92,6 +93,9 @@ def start(
|
||||
writeStudentsToCSV(students, output_dir='./output/raw/csv/students.csv')
|
||||
writeCoursesToCSV(courses, output_dir='./output/raw/csv/courses.csv')
|
||||
|
||||
eel.post_data('Writing master timetable to .xlsx file...')
|
||||
putMasterTimetable(master_timetable, './output/final')
|
||||
|
||||
eel.post_data('Writing timetables to .docx files...')
|
||||
if save_student_schedules:
|
||||
for student in students:
|
||||
|
||||
Reference in new issue
Block a user