diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-01-19 17:05:53 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-01-19 17:05:53 +0000 |
commit | 0404c5d319d0cf85941b20e53a7dab1e9bf71bef (patch) | |
tree | 7ca3384756c34826f41c7624064b952a98023f83 /mark.py | |
parent | eb5b1d2889aa5e408309f5d89989768ff19bc7f4 (diff) | |
download | Smarker-0404c5d319d0cf85941b20e53a7dab1e9bf71bef.tar.gz Smarker-0404c5d319d0cf85941b20e53a7dab1e9bf71bef.zip |
added testing and generating testing reports
Diffstat (limited to 'mark.py')
-rw-r--r-- | mark.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -25,7 +25,7 @@ def main(**kwargs): with open(kwargs["assessment"], "r") as f: assessment_struct = yaml.safe_load(f) - output = reflect.gen_reflection_report(submission_files, assessment_struct) + output = reflect.gen_reflection_report(submission_files, assessment_struct, kwargs) output_file = kwargs["out"] if kwargs["format"] == "yaml": strout = yaml.dump(output) @@ -34,6 +34,7 @@ def main(**kwargs): if output_file == "stdout": print(strout) + # input("\n\n[tempdir: %s] Press any key to close..." % tempdir) exit() if output_file == "auto": @@ -42,6 +43,8 @@ def main(**kwargs): with open(output_file, "w") as f: f.write(strout) + # input("\n\n[tempdir: %s] Press any key to close..." % tempdir) + if __name__ == "__main__": config = configparser.ConfigParser() config.read("smarker.conf") |