Skip to content

Commit 7a447bd

Browse files
committed
MAJOR UPDATE
- 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.
1 parent 4d6298e commit 7a447bd

File tree

6 files changed

+1411
-6
lines changed

6 files changed

+1411
-6
lines changed

data/Ontologies_forRepo.xlsx

19.6 KB
Binary file not shown.

data/README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
33
This folder keeps the source data and is the entry point for automated Excel-to-JSON conversion.
44

55
## 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.
98
* **Output folder** - contains timestamped JSON backups that are relevant to this conversion process. See `output/README.md` for details.
109

1110
* * **submissions folder** - the ontologies submitted by users to be added to the BE-OLS are first recorded here.
1211

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+
1318
## Automatic Conversion
1419

1520
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:
3136

3237
* The JSON output file must be named exactly `Ontologies_forRepo.json` so that all downstream code can locate it.
3338
* 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).
3540

3641

3742
## Important Points (and Troubleshooting)

data/source/ontologies_source.xlsx

77.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)