fetch_latest_snapshot_tag#
- torch_brain.utils.openneuro.fetch_latest_snapshot_tag(dataset_id)[source]#
Fetch the latest snapshot tag for an OpenNeuro dataset.
- Parameters:
dataset_id (
str) – OpenNeuro dataset identifier (for example,"ds005555").- Return type:
- Returns:
Latest snapshot tag available on OpenNeuro for
dataset_id.- Raises:
RuntimeError – If the dataset cannot be resolved from the GraphQL response.