You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tool is designed to process metadata extracted using SOMEF, focusing on answering predefined research questions. It parses the data from SOMEF's output and generates JSON files with the information relevant to each research question (RQ).
19
+
This tool is designed to process metadata extracted using SOMEF, focusing on answering predefined research questions. It parses the data from SOMEF's output and generates JSON files with the information relevant to each research question (RQ) and generating calculations for each data requested.
18
20
19
21
## Research Questions
20
22
@@ -51,15 +53,40 @@ You can extract SOMEF output (Already extracted) with:
51
53
```bash
52
54
python run_somef.py
53
55
```
54
-
In order to use, you can run every RQ individually with an example:
56
+
In order to use, you can run every RQ individually using the `main.py`:
55
57
56
58
```bash
57
-
python rq1.py
59
+
python main.py
58
60
```
61
+
And it will prompt you the following:
59
62
60
-
## Output
63
+
```bash
64
+
=== Main Menu ===
65
+
1. Run RQ scripts
66
+
2. Calculate results
67
+
exit. Quit
68
+
Choose an option (1/2/exit):
69
+
```
70
+
If you choose 1. you will be able to choose which research question you wish to answer:
61
71
62
-
This is an output example of RQ1 from one cluster:
72
+
```bash
73
+
Available RQ scripts:
74
+
1. rq1.py
75
+
2. rq2.py
76
+
3. rq3.py
77
+
4. rq4.py
78
+
5. rq5.py
79
+
Enter RQ number (1-5) or 'back':
80
+
```
81
+
Once you choose an RQ, you will be prompted to put some input regarding the naming of the files, the directories etc... (You need to follow the same naming of the already existing files if you wish to use `count_results.py` to iterate through the results of analysis and calculate the final results, for example for rq1, you should name the output for envri `analysis_envri_rq1.json`, check the rest of the files to follow the naming convention)
82
+
83
+
If in the main menu you choose 2. you will be prompted to fill in the directory of the results, and the cluster you wish to calculate for:
84
+
```bash
85
+
Running results calculation...
86
+
Input the research question (rq1, rq2, rq3, rq4, rq5) or type'exit' to quit:
87
+
```
88
+
## Output
89
+
If you choose to get the somef results of RQ1 and input the prompts accordingly, you get this result for RQ1 from one cluster (This is ESCAPE)
63
90
```bash
64
91
{
65
92
"citation.cff": {
@@ -69,81 +96,102 @@ This is an output example of RQ1 from one cluster:
> Should be noted, that due to the large size of the files for`temp_analysis`, this directory is not be available on this repository, it is impossible to upload it on GitHub, you can extract using `SoMEF` (it automatically keeps the `temp_files`). From these results, we can answer all RQs.
143
177
144
-
Should be noted, the "files" section is not be available due to the size of each repositories, it is impossible to upload it on GitHub, they are extracted from SOMEF. From these results, we can answer RQ1.
145
-
146
-
178
+
If you choose to calculate the results of the cluster you will get the following output:
0 commit comments