From 8f4689c94ff0d414b327f45a6764e73afeadf17c Mon Sep 17 00:00:00 2001 From: Therese Lyngby Date: Fri, 6 Jan 2023 16:30:57 +0100 Subject: [PATCH 1/2] Updated a comment --- Assignment-2/DCR_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assignment-2/DCR_graph.py b/Assignment-2/DCR_graph.py index f58ee27..fa26b10 100644 --- a/Assignment-2/DCR_graph.py +++ b/Assignment-2/DCR_graph.py @@ -138,7 +138,7 @@ class Relationship(): elif self.type == RelationsshipType.update: pass # Don't know what this one does elif self.type == RelationsshipType.spawn: - pass # Don't know what this one does + pass # We figured it was outside the assignments scope to implement this elif self.type == RelationsshipType.templateSpawn: pass # Don't know what this one does From b591bd88fbb8a21bc2e6f9cfdc15faa932d9b4f3 Mon Sep 17 00:00:00 2001 From: Therese Lyngby Date: Fri, 6 Jan 2023 16:50:44 +0100 Subject: [PATCH 2/2] Added a README on how to run the code --- Assignment-2/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Assignment-2/README diff --git a/Assignment-2/README b/Assignment-2/README new file mode 100644 index 0000000..66ee3ac --- /dev/null +++ b/Assignment-2/README @@ -0,0 +1,14 @@ +In order to run the code, use a terminal to navigate into the src-directory +and type the following command +$ python main.py [dcr-graph] [log] + +replace [dcr-graph] with the location of the dcr-graph in .xml-format, and +[log] with the location of the log in .csv + +For example if one wanted to run the test with the Dreyers-log and our full +DCR-graph use the command +$ python main.py data/DCR-full.xml data/log.csv + +If you are missing any of the external modules used in our implementation +use the below command to get them +$ pip install [module_name] \ No newline at end of file