IDC Index Data
raw JSON → 23.10.1 verified Fri May 01 auth: no python
ImagingDataCommons index to query and download data from the Imaging Data Commons. Version 23.10.1 with occasional releases (every few months).
pip install idc-index-data Common errors
error ModuleNotFoundError: No module named 'idc_index' ↓
cause Package not installed or wrong import path.
fix
Run
pip install idc-index-data and use import idc_index. error AttributeError: module 'idc_index' has no attribute 'IDCIndex' ↓
cause Incorrect import attempt such as `from idc_index import IDCIndex` when the class is inside the module.
fix
Use
import idc_index then idc_index.IDCIndex(). Warnings
breaking Requires Python >=3.10. Using older Python will fail at install. ↓
fix Ensure Python 3.10+ is used.
gotcha Data is downloaded from GCS; ensure you have network access and sufficient disk space. ↓
fix Check internet connectivity and free space before downloading large indexes.
Imports
- idc_index wrong
from idc_index import IDCIndexcorrectimport idc_index
Quickstart
import idc_index
index = idc_index.IDCIndex()
print(index.get_available_indexes())