From d301891d5e703c26063f418349313a831c97dfa0 Mon Sep 17 00:00:00 2001 From: Tue Herlau <tuhe@dtu.dk> Date: Mon, 1 Feb 2021 19:53:32 +0100 Subject: [PATCH] fixed bug in passall flag --- unitgrade/unitgrade_helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unitgrade/unitgrade_helpers.py b/unitgrade/unitgrade_helpers.py index 2cd7709..e252c6f 100644 --- a/unitgrade/unitgrade_helpers.py +++ b/unitgrade/unitgrade_helpers.py @@ -28,7 +28,7 @@ Note this scripts does not grade your report. To grade your report, use: > python report1_grade.py Finally, note that if your report is part of a module (package), and the report script requires part of that package, the -m option for python may be useful. -For instance, if the report file is in Documents/course_package/assignment1_dp.py, and `course_package` is a python package, then change directory to 'Documents/` and run: +For instance, if the report file is in Documents/course_package/report1.py, and `course_package` is a python package, then change directory to 'Documents/` and run: > python -m course_package.report1 @@ -62,6 +62,7 @@ def evaluate_report_student(report, question=None, qitem=None, unmute=None, pass unmute = args.unmute if passall is None: passall = args.passall + print(passall) results, table_data = evaluate_report(report, question=question, qitem=qitem, verbose=False, passall=passall, show_expected=args.showexpected, show_computed=args.showcomputed,unmute=unmute) if question is None: -- GitLab