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
- Renaming of fields in Ontologies_forRepo
- Many new fields calculated by ontology_characterisation.ijynb from the ontologies_sources.xlsx file, both located in a new folder `data<source` folder.
- Updated the README file in the `data` folder.
Copy file name to clipboardExpand all lines: data/README.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,18 @@
3
3
This folder keeps the source data and is the entry point for automated Excel-to-JSON conversion.
4
4
5
5
## Files
6
-
7
-
***Ontologies\_forRepo.xlsx** - the main Excel workbook where collaborators add or update data. It must contain a sheet named **Data**.
8
-
***Ontologies\_forRepo.json** - the live JSON file used by front-end and other code. It is regenerated automatically whenever the Excel file changes.
6
+
***Ontologies\_forRepo.xlsx** - the main Excel workbook containing the data used by front-end and other code. It must contain a sheet named **Data**.
7
+
***Ontologies\_forRepo.json** - the live JSON file used by front-end and other code. It is regenerated automatically whenever the corresponding Excel file changes.
9
8
***Output folder** - contains timestamped JSON backups that are relevant to this conversion process. See `output/README.md` for details.
10
9
11
10
****submissions folder** - the ontologies submitted by users to be added to the BE-OLS are first recorded here.
12
11
12
+
****source folder** - the ontologies submitted by users to be added to the BE-OLS are first recorded here. This contains:
13
+
***Ontologies.xlsx** - the main Excel workbook where collaborators enter core information for all ontologies in the database as well as manual information for ontology without URI.
14
+
***Ontology_characterisation.jpynb** - the Jupyter Notebook used to process `Ontologies.xlsx` to generate `Ontologies\_forRepo.xlsx` in the parent folder.
15
+
16
+
****Network Graph folder** - old content to be removed eventually.
17
+
13
18
## Automatic Conversion
14
19
15
20
A GitHub Actions workflow monitors this folder for modifications to `Ontologies_forRepo.xlsx`. Whenever changes are pushed:
@@ -31,7 +36,7 @@ If you need to run the workflow on demand:
31
36
32
37
* The JSON output file must be named exactly `Ontologies_forRepo.json` so that all downstream code can locate it.
33
38
* Do not rename this file manually. Always update the Excel workbook and let the workflow regenerate the JSON under the correct name.
34
-
* If you upload a new Excel file with a different base name, the converter will generate a JSON file with the same base name.
39
+
* If you upload a new Excel file with a different base name, the converter will generate a JSON file with the same base name (this needs updated so that only the `Ontologies_forRepo.xlsx` is processed).
0 commit comments