Skip to content

Refactor main#49

Open
prachisah1 wants to merge 6 commits intomainfrom
refactor_main
Open

Refactor main#49
prachisah1 wants to merge 6 commits intomainfrom
refactor_main

Conversation

@prachisah1
Copy link
Contributor

Refactored some changes

# Dictionary to hold timetables for each classroom
self.classroom_timetable = {}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for each classroom timetable and also this will be used for making timetable for the labs

# Generate classroom-wise timetable
classroom_timetable = ClassroomTimetable()
w = {
"Week 2": SampleChromosome.schedule2,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This main function was taking chromosome from samples.py and if only the above function will be called then only a json format will be send

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants