tidy main file

This commit is contained in:
SowinskiBraeden committed 2022-11-11 12:34:53 -08:00
1 parent 15a09d4caf
commit ca400b252e
1 file changed
+12 -12
+12 -12
View File
@@ -48,15 +48,15 @@ def start(
eel.post_data('Collecting student information...') eel.post_data('Collecting student information...')
students = getStudents( students = getStudents(
raw_data_dir, raw_data_dir,
log=True, log = True,
totalBlocks=total_blocks, totalBlocks = total_blocks,
log_dir='./output/raw/json/students.json' log_dir = './output/raw/json/students.json'
) )
eel.post_data('Collecting course information...') eel.post_data('Collecting course information...')
courses = getCourses( courses = getCourses(
raw_data_dir, raw_data_dir,
log=True, log = True,
log_dir=f'{raw_json_dir}/courses.json' log_dir = f'{raw_json_dir}/courses.json'
) )
# call algorithm to sort data # call algorithm to sort data
@@ -64,13 +64,13 @@ def start(
master_timetable, err = generateScheduleV3( master_timetable, err = generateScheduleV3(
students, students,
courses, courses,
minReq=min_req, minReq = min_req,
classCap=class_cap, classCap = class_cap,
blockClassLimit=block_class_limit, blockClassLimit = block_class_limit,
totalBlocks=total_blocks, totalBlocks = total_blocks,
studentsDir=f'{raw_json_dir}/students.json', studentsDir = f'{raw_json_dir}/students.json',
conflictsDir=f'{raw_json_dir}/conflicts.json', conflictsDir = f'{raw_json_dir}/conflicts.json',
coursesDir=f'{raw_json_dir}/courses.json' coursesDir = f'{raw_json_dir}/courses.json'
) )
if err is not None: if err is not None: