DatabankLib.bin.initialize_data module

Initializes NMRlipids Databank data folder for further work and creates databank_env.rc file.

Usage:

nml_initialize_data [toy|stable|dev|-h]
source databank_env.rc
  • toy: copies ToyData from the package data. This Databank contains only 4 very small systems

  • stable: download stable release from github.com/NMRlipids/BilayerData (even without git)

  • dev: clone NMRlipids/BilayerData (requires git)

DatabankLib.bin.initialize_data.git_exists() bool[source]

Check if git is installed.

DatabankLib.bin.initialize_data.get_latest_release_tag() str[source]

Fetch the latest release tag from the GitHub API.

DatabankLib.bin.initialize_data.clone_repo(tag: str) None[source]

Clone the repository at the specified tag.

DatabankLib.bin.initialize_data.download_and_extract_zip(tag: str) None[source]

Download and extract the ZIP file of the specified tag (release).

DatabankLib.bin.initialize_data.download_toy_folder(dest: str = 'ToyData') None[source]

Download a folder from a package data.

DatabankLib.bin.initialize_data.initialize_data() None[source]

Code program logic.