Skip to content

Commit

Permalink
Merge pull request #124 from ImagingDataCommons/v19-update
Browse files Browse the repository at this point in the history
ENH: update to IDC v19
  • Loading branch information
fedorov authored Sep 11, 2024
2 parents 51a436a + 879bcea commit 44c3977
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion idc_index/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(self):
"clinical_index": {
"description": "Index of clinical data accompanying the available images.",
"installed": False,
"url": f"https://idc-open-metadata.s3.amazonaws.com/bigquery_export/idc_{idc_version}_clinical/column_metadata/000000000000.parquet",
"url": f"{asset_endpoint_url}/clinical_index.parquet",
},
}

Expand Down Expand Up @@ -1794,6 +1794,7 @@ def sql_query(self, sql_query):
"""

index = self.index
logger.debug("Executing SQL query: " + sql_query)
# TODO: find a more elegant way to automate the following: https://www.perplexity.ai/search/write-python-code-that-iterate-XY9ppywbQFSRnOpgbwx_uQ
if hasattr(self, "sm_index"):
sm_index = self.sm_index
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ classifiers = [
dynamic = ["version"]
dependencies = [
"click",
'duckdb>=0.10.0',
"idc-index-data==18.2.0",
'duckdb>=0.10.0,<1.1.0',
"idc-index-data==19.0.1",
"packaging",
"pandas<2.2",
"psutil",
Expand Down

0 comments on commit 44c3977

Please sign in to comment.