summaryrefslogtreecommitdiffstats
path: root/mark.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-01-19 17:05:53 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2022-01-19 17:05:53 +0000
commit0404c5d319d0cf85941b20e53a7dab1e9bf71bef (patch)
tree7ca3384756c34826f41c7624064b952a98023f83 /mark.py
parenteb5b1d2889aa5e408309f5d89989768ff19bc7f4 (diff)
downloadSmarker-0404c5d319d0cf85941b20e53a7dab1e9bf71bef.tar.gz
Smarker-0404c5d319d0cf85941b20e53a7dab1e9bf71bef.zip
added testing and generating testing reports
Diffstat (limited to 'mark.py')
-rw-r--r--mark.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/mark.py b/mark.py
index c9f0dbd..95bba55 100644
--- a/mark.py
+++ b/mark.py
@@ -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")