@@ -40,13 +40,13 @@ Argument `--upgrade` (re)installs the package, even if the version number hasn't
1. Run `mu-aggr`.
**NOTE:**`mu-aggr` is not yet configurable and expects `mu-cluster` to have used its default file and directory names!
**NOTE:**`mu-aggr` is not yet *fully* configurable and expects `mu-cluster` to have used its default file and directory names! Run `mu-aggr --help` for options that can already be configured.
`mu-aggr` combines the cluster data with exports from eDoz and Code Expert, and generates a cluster report as an HTML file.
* Code Expert export: `My Courses -> Students (Student Overview) -> Export to CSV` and save `./cx_students.csv`
* Code Expert export: *My Courses* → *Students (Student Overview)* → *Export to CSV*. Pass file to `mu-aggr` via the mandatory `--code-expert-export` option.
* eDoz exports: **TODO:**`mu-aggr` is currently not reusable, since eDoz export files are hardcoded. Must make them configurable!
* eDoz exports: *Communication/List* → *Course units* → *<Your course>* → *Export data (Zip/Text)*, then extract CSV (`.txt`) file from downloaded ZIP file. Pass files to `mu-aggr` via the mandatory `--edoz-exports` option.
raiseRuntimeError("CSV file {} with matches per clusters doesn't exist. Should have been created by mu-cluster.".format(clusters_matches_csv_file))
ifnotos.path.isfile(cx_course_students_csv_file):
raiseRuntimeError("Code Expert course data CSV file {} doesn't exist. Download it from Code Expert as follows: My Courses -> Students -> Export to CSV.".format(cx_course_students_csv_file))