Skip to content

Dataset Version Setter

Lucie Hutchins edited this page Apr 10, 2018 · 2 revisions

A script that sets the release version to download for the given source. It updates the current_release_number file with the value specified by the user.

Usage: ./setDataVersion.sh <source_name><source_version>

  1. cd to the repos root directory
  2. run ./setDataVersion.sh <source_name><source_version>
Example: ./setDataVersion.sh ensembl 91

What it does:

  1. Create the base directory for this tool if not exists under EXTERNAL_DATA_BASE
  2. sets the current release number to the specified value

NOTE: The format of the source_version argument must follow the pattern specified in REPOS_TAG_PATTERN variable in the source's specific config file.

 For example in orthodb_package.cfg, 
the pattern Is  REPOS_TAG_PATTERN="^v[0-9]+\.[0-9]+$"

Clone this wiki locally