Update imaging-data-commons skill from v1.4.0 to v1.6.3 upstream#158
Open
fedorov wants to merge 2 commits into
Open
Update imaging-data-commons skill from v1.4.0 to v1.6.3 upstream#158fedorov wants to merge 2 commits into
fedorov wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[1.6.3] - 2026-05-09
Added
ct_index,mr_index,pt_indextables (idc-index 0.12.3 / idc-index-data 24.2.0): modality-specific acquisition and reconstruction parameter indices, one row per series, all joining onSeriesInstanceUIDct_index(21 columns): pixel spacing, slice thickness, kVp, convolution kernel, tube current min/max (dose-modulated), exposure, spiral pitch, scan optionsmr_index(22 columns): field strength, scanning sequence, TE (array for multi-echo), TR, flip angle, DiffusionBValue (array for DWI), pixel bandwidth, receive coil, number of temporal positionspt_index(21 columns): radionuclide, injected dose, reconstruction method, decay/scatter/attenuation correction, frame duration (array for dynamic PET), number of time slicesreferences/sql_patterns.mdct_index,mr_index,pt_indexinreferences/index_tables_guide.mdand SKILL.mdct_index.parquet,mr_index.parquet,pt_index.parquetinreferences/parquet_access_guide.mdChanged
indices_overviewcode example showing how to search for a column across all tables and read column schemas without fetching the table; directly addresses the failure mode where agents queryindexfor modality-specific parameters (SliceThickness, KVP, etc.) instead of usingct_index/mr_index/pt_indexindextable" with a workingindices_overviewsearch snippet and join example, covering common acquisition/reconstruction parameters that live in the modality-specific index tablesdownload_from_selectionAPI: added explicit warning that it takes filter keyword arguments (not a DataFrame), comparison table vsdownload_dicom_series(which has a different first-argument order), and restructured the download example as a step-by-step query → extract UIDs → pass list flowdownload_dicom_seriesas an alternative download method with its own signature (seriesInstanceUIDas first arg, thendownloadDir)[1.6.2] - 2026-05-08
Changed
version_metadata_indexto second position in Available Tables (right afterindex) to surface it alongside the primary indexprior_versions_indexto last position in Available Tables; updated description to clarify it contains only removed/superseded series and should not be queried for current dataclient.fetch_index("table_name")before querying any table;fetch_index()is idempotent for all tables including auto-loaded ones, so no exceptions are needed[1.6.1] - 2026-05-08
Added
series_init_idc_versionandseries_revised_idc_versioncolumns in primaryindextable (idc-index-data 24.1.0): expose the IDC version when each series was first added and last revised, enabling version-aware filteringversion_metadata_indextable: maps each IDC version number to its release timestamp; requiresclient.fetch_index("version_metadata_index")version_metadata_index(61 total, up from 55)Changed
analysis_results_indexcolumn renames (idc-index-data 24.1.0):Updated→updated,Description→description[1.6.0] - 2026-05-07
Added
tests/test_bq_snippets.py: BigQuery snippet validation usingbq query --dry_run— 33 tests covering all SQL examples inreferences/bigquery_guide.md(dicom_all, original_collections_metadata, segmentations, quantitative_measurements, qualitative_measurements, private elements, and clinical tables); skips automatically whenbqCLI is unavailable or unauthenticatedSecurity
idc-indextoREQUIRED_VERSION(was"idc-index", nowf"idc-index=={REQUIRED_VERSION}"), ensuring the installed version always matches the tested version declared in the frontmatterpandas>=1.5, numpy>=1.23, pydicom>=2.3)Changed
references/use_cases.md(Use Case 5); replaced inline code block with a 2-sentence summary and pointerreferences/use_cases.md(Use Case 6); replaced inline pydicom/SimpleITK code blocks with a 2-sentence summary and pointerreferences/use_cases.mdexpanded from 187 → 278 linescollections_indexcolumn names to snake_case (idc-index-data 24.0.0 breaking change):CancerTypes→cancer_types,TumorLocations→tumor_locations,Subjects→subjects,Species→species,Sources→sources,SupportingData→supporting_data,Program→program_idanalysis_results_indexcolumn names to snake_case (idc-index-data 24.0.4 breaking change):Subjects→subjects,Collections→collections,Modalities→modalities[1.5.0] - 2026-04-08
Added
volume_geometry_indextable documentation: 3D geometry validation for single-frame CT, MR, and PT series; boolean checks (orientation, spacing, dimensions, slice positions) and compositeregularly_spaced_3d_volumeflag; join viaSeriesInstanceUIDrtstruct_indextable documentation: RT Structure Set metadata (total ROIs, ROI names, generation algorithms, interpreted types, referenced image series UID); join viaSeriesInstanceUIDreferences/parquet_access_guide.md: direct DuckDB queries against public GCS Parquet files without installing idc-index; URL pattern, available files, and query examples for main index,volume_geometry_index, andrtstruct_indexvolume_geometry_indexandrtstruct_indexinreferences/sql_patterns.mdreferences/bigquery_guide.md:segmentations: per-segment anatomy with full schema, column descriptions, and queries for discovering structures, filtering by coded concept, and linking to SR measurements; note on gap vsseg_indexin idc-indexquantitative_measurements: radiomics and clinical numeric measurements from DICOM SR TID1500 (volume, diameter, shape descriptors, texture, intensity statistics); full schema with column descriptions and query examplesqualitative_measurements: coded assessments from DICOM SR TID1500 (malignancy rating, calcification, texture, margin); full schema with column descriptions and query examplesmeasurement_groups: parent grouping table for SR measurementsChanged
SOPClassUIDandTransferSyntaxUIDcolumns to Key Columns Reference inreferences/index_tables_guide.mdparquet_access_guide.mdto Quick Navigation table in SKILL.md