File MIES_DANDI.ipf

Functions

static string DND_GetDestinationIgorPath()
static string DND_ChooseAsset(WaveText props)
static string DND_FetchAsset(variable setNumber, string assetID, string assetPath)

Download the given asset from the set.

The asset hash is checked before returning.

Returns:

absolute path to the downloaded asset

static wave DND_ParseSetReponse(string response)

Parse the REST API response and fill the DANDI set properties wave.

The returned wave will have the format as described at GetDandiSetProperties() and row dimension label with the asset ID.

Example: https://api.dandiarchive.org/api/dandisets/000068/versions/draft/assets/

string DND_FetchAssetFromSet(variable setNumber)