continue step 6
This commit is contained in:
1 parent
2ea40bfe6f
commit
e82b39d0b7
1 file changed
+6
-2
@@ -331,10 +331,14 @@ def generateScheduleV3(students: list, courses: dict, blockClassLimit: int=40, s
|
|||||||
json.dump(students, outfile, indent=2)
|
json.dump(students, outfile, indent=2)
|
||||||
|
|
||||||
|
|
||||||
# Step 6 - Evaluate, move classes or students to fix
|
# Step 6 - Evaluate, move students to fix
|
||||||
for student in students:
|
for student in students:
|
||||||
|
blocksLen = []
|
||||||
for block in student["schedule"]:
|
for block in student["schedule"]:
|
||||||
pass
|
blocksLen.append(len(student["schedule"][block]))
|
||||||
|
# If there is a cross over...
|
||||||
|
if len(student["schedule"][block]) > 1:
|
||||||
|
pass
|
||||||
|
|
||||||
return running
|
return running
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user