GatorIncubator / gatorgrouper

:busts_in_silhouette: Automated Group Formation Tool Enabling Effective Team Work
GNU General Public License v3.0
20 stars 20 forks source link

Exception Handling for Wrong Measure in Kernighan-Lin Algorithm #263

Closed baldeosinghm closed 5 years ago

baldeosinghm commented 5 years ago

Description of the Issue

The compatibility method needs to raise an exception for wrong measures off the objective_measure list.

Add Detailed Comment with More Information

The file group_graph.py has a method for checking the compatibility between students based on their objective weights and objective measures. The function measure is used to check for what compatibility measure to use for different students. The issue with this function is that there is no exception for inappropriate measures that don't match those from the objective_measures list.

Assigned Developers

@ilikerustoo @Lancasterwu @yeej2 @baldeosinghm

baldeosinghm commented 5 years ago

@yeej2 has solved this issue.