SheepTester-forks / CurricularAnalytics.py

CurricularAnalytics.py is a Python port of CurricularAnalytics.jl, a toolbox for studying and analyzing academic program curricula.
https://pypi.org/project/curricularanalytics/
GNU Affero General Public License v3.0
2 stars 3 forks source link

`write_csv` fails to create curriculum csv file with metrics #8

Closed will-hou closed 3 months ago

will-hou commented 3 months ago

The issue is with the course_line() function in csv_utilities.py:

https://github.com/SheepTester-forks/CurricularAnalytics.py/blob/917465ad221336707510af140e01350b47d0dbd1/curricularanalytics/csv_utilities.py#L56

The function is calling .course_complexity(), etc. (which does not exist) instead of complexity() .

Additionally, I believe there needs to be a leading comma to correctly add in the new metrics columns.

image