Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
agbeltran committed Jul 14, 2016
2 parents 427a1ac + 9fcc35e commit c5fb4b8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,25 @@ The document provides links to the different appendices files.
* [Appendix 1 - Metadata Mapping File v1 (Spreadsheet)](https://github.com/biocaddie/WG3-MetadataSpecifications/blob/master/AppendixI-WG3MetadataMappingFilev1-NIH-BD2K-bioCADDIE-DataDiscoveryIndex.xlsx)
* [Appendix 2 - Metadata Elements File v1 (Spreadsheet)](https://github.com/biocaddie/WG3-MetadataSpecifications/blob/master/AppendixII-WG3MetadataElementsFilev1-NIH-BD2K-bioCADDIE-DataDiscoveryIndex.xlsx)

## Instructions to execute code

The python code included in the repository validates the JSON schemas and the JSON instances against the schemas.
To execute the code, it is recommended to use a virtual environment, and follow the steps in the `code` directory:

1. First install the virtual environment via `pip`:
`pip install virtualenv`
2. Then, activate the virtual environment:
`source venv/bin/activate`
3. Install the requirements:
`pip install -r requirements.txt`
4. Finally, you can run the validation scripts:
`python validate_schemas.py`
`python validate_instances.py`








0 comments on commit c5fb4b8

Please sign in to comment.