MassBank-data validation status
This repo contains all MassBank records and uses the Travis CI to validate the content of all records with the new Validator from MassBank-web.
Validate new record files locally (linux only)
To validate new record files locally please clone this repo. Under the
.scripts directory create the source tree of the MassBank-web project and compile it, because the validator program is needed.
You can use the following commands:
git clone --depth 1 -q https://github.com/MassBank/MassBank-web.git .scripts/MassBank-web mvn -q -f .scripts/MassBank-web/MassBank-Project/MassBank-lib/pom.xml install
Now its possible to validate record files locally.
validate.sh supports validation of a single record file, several files as well as one or several directories containing record files, eg.
Submit new records to MassBank-data or modify existing records
To submit data or to change existing records:
- Please fork this repo and make your changes.
- To enable validation of records in a new subdirectory please run
./.scripts/pre-commitor create a symlink/copy
.git/hooks/pre-commitprior commiting the changes.
- Commit and push your changes to your repo.
- Create a pull request.
Your pull request will be validated and you will receive a report whether your records meet the MassBank specs.