Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: update to IDC v19 #124

Merged
merged 4 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading