Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
3023604
-> script updates
s-paquette Oct 6, 2025
00ce70f
-> #1489
s-paquette Oct 7, 2025
d7bab93
-> Clean up cart page buttons, add citations
s-paquette Oct 7, 2025
8eb8b52
-> dependabot
s-paquette Oct 7, 2025
70941e0
Merge pull request #1492 from ImagingDataCommons/release-49-sp
s-paquette Oct 7, 2025
4a48ae7
-> #1489
s-paquette Oct 7, 2025
7e07e89
-> #1468
s-paquette Oct 9, 2025
21d84bc
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Oct 9, 2025
b9dc75c
-> Wording
s-paquette Oct 9, 2025
00022fb
-> Citations icon to quotes
s-paquette Oct 13, 2025
342129f
-> Download for collections (except NLST)
s-paquette Oct 14, 2025
2ceaea0
Merge pull request #1493 from ImagingDataCommons/release-49-sp
s-paquette Oct 14, 2025
c2b8c52
-> Refuse downloads over 3TB, warn under that and over 1TB
s-paquette Oct 24, 2025
6b410a3
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Oct 24, 2025
9564d18
Merge pull request #1495 from ImagingDataCommons/release-49-sp
s-paquette Oct 24, 2025
18d3793
-> Refuse downloads over 3TB, warn under that and over 1TB
s-paquette Oct 24, 2025
1e4d027
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Oct 24, 2025
cf07ac4
Merge pull request #1496 from ImagingDataCommons/release-49-sp
s-paquette Oct 24, 2025
d310847
-> Keys
s-paquette Oct 24, 2025
abcbc75
-> Clean up error messaging for workers
s-paquette Oct 25, 2025
f6a31c6
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Oct 25, 2025
ddd1b06
Merge pull request #1499 from ImagingDataCommons/release-49-sp
s-paquette Oct 27, 2025
3aafb40
-> Downloads for cart and filters
s-paquette Oct 28, 2025
45aced5
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Oct 28, 2025
1af77b6
Merge pull request #1500 from ImagingDataCommons/release-49-sp
s-paquette Oct 28, 2025
d2e6226
-> Downloads for cart and filters
s-paquette Oct 28, 2025
1b20f4d
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Oct 28, 2025
68add84
Merge pull request #1501 from ImagingDataCommons/release-49-sp
s-paquette Oct 28, 2025
287a42f
-> Ensure proper cancellation
s-paquette Oct 29, 2025
60f31ff
Merge branch 'master' into release-49-sp
s-paquette Oct 29, 2025
9b39112
Merge pull request #1502 from ImagingDataCommons/release-49-sp
s-paquette Oct 29, 2025
85303a2
-> Tooltip fixes/improvements
s-paquette Nov 1, 2025
3f92d9c
-> Tooltip updates
s-paquette Nov 1, 2025
d8e03bb
Merge pull request #1503 from ImagingDataCommons/release-49-sp
s-paquette Nov 1, 2025
9e109f2
-> Tooltip fixes
s-paquette Nov 4, 2025
696689b
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Nov 4, 2025
73a2e75
Merge pull request #1504 from ImagingDataCommons/release-49-sp
s-paquette Nov 4, 2025
05a5b0c
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Nov 4, 2025
d214866
Release 49
s-paquette Nov 4, 2025
2f7b73f
-> expansion table changes
s-paquette Nov 6, 2025
34a0644
-> #1509
s-paquette Nov 6, 2025
18554bf
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Nov 6, 2025
7094506
Merge pull request #1510 from ImagingDataCommons/new-expansion-icon
s-paquette Nov 6, 2025
dbde778
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Nov 6, 2025
f0d8bd1
-> #1509
s-paquette Nov 7, 2025
44f3251
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Nov 7, 2025
b68b5cc
-> Bugfix for smaller filtered downloads
s-paquette Nov 10, 2025
f0c3218
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Nov 10, 2025
d33ff19
-> >65k records, direct download shunts user to manifests/CLI
s-paquette Nov 10, 2025
82fa61d
-> Properly disable the citations button if there are no records for …
s-paquette Nov 10, 2025
77cd707
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-We…
s-paquette Nov 10, 2025
3603c17
Merge branch 'idc-test' of https://github.com/ImagingDataCommons/IDC-…
s-paquette Nov 10, 2025
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ RUN apt-get update
RUN apt-get install -y wget
# TODO: we need to start using the keyring instead
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv A8D3785C
RUN wget "http://repo.mysql.com/mysql-apt-config_0.8.30-1_all.deb" -P /tmp
RUN wget "http://repo.mysql.com/mysql-apt-config_0.8.35-1_all.deb" -P /tmp

# install lsb-release (a dependency of mysql-apt-config), since dpkg doesn't
# do dependency resolution
RUN apt-get install -y lsb-release
RUN dpkg --install /tmp/mysql-apt-config_0.8.30-1_all.deb
RUN dpkg --install /tmp/mysql-apt-config_0.8.35-1_all.deb

# fetch the updated package metadata (in particular, mysql-server)
RUN apt-get update
Expand Down
15 changes: 7 additions & 8 deletions etl/etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
COLLECTION_HEADER_CHK = "collection_uuid"

FIELD_MAP = {x: i for i, x in enumerate([
"collection_id", "collection_uuid", "name", "collections", "image_types", "supporting_data", "subject_count", "doi",
"source_url", "cancer_type", "species", "location", "analysis_artifacts", "description", "collection_type",
"program", "access", "date_updated", "tcia_wiki_collection_id", "license_short_name", "active"
])}
"collection_id", "collection_uuid", "name", "collections", "image_types", "supporting_data", "subject_count", "doi",
"source_url", "cancer_type", "species", "location", "analysis_artifacts", "description", "collection_type",
"program", "access", "date_updated", "tcia_wiki_collection_id", "license_short_name", "active", "total_size", "total_size_with_ar"
])}

TOKENIZED_FIELDS = ["PatientID", "SeriesInstanceUID", "StudyInstanceUID"]

Expand Down Expand Up @@ -146,8 +146,8 @@
}

SOLR_SINGLE_VAL = {
"StudyInstanceUID": ["PatientID", "StudyInstanceUID", "crdc_study_uuid"],
"SeriesInstanceUID": ["PatientID", "StudyInstanceUID", "SeriesInstanceUID", "crdc_study_uuid", "crdc_series_uuid"]
"StudyInstanceUID": ["PatientID", "StudyInstanceUID", "crdc_study_uuid","instance_size"],
"SeriesInstanceUID": ["PatientID", "StudyInstanceUID", "SeriesInstanceUID", "crdc_study_uuid", "crdc_series_uuid", "instance_size"]
}

ETL_CONFIG = {}
Expand Down Expand Up @@ -356,7 +356,7 @@ def load_collections(filename, data_version="8.0"):
exact_collection_fields = [
"collection_id", "collection_uuid", "name", "collections", "image_types", "supporting_data", "subject_count", "doi",
"source_url", "cancer_type", "species", "location", "analysis_artifacts", "description", "collection_type",
"access", "date_updated", "active"]
"access", "date_updated", "active", "total_size", "total_size_with_ar"]
field_map = FIELD_MAP
for line in csv_reader(collection_file):
if COLLECTION_HEADER_CHK in line:
Expand All @@ -366,7 +366,6 @@ def load_collections(filename, data_version="8.0"):
for field in line:
field_map[field] = i
i += 1
print(field_map)
continue
collex = {
'data': { x: line[field_map[x]] for x in exact_collection_fields },
Expand Down
2 changes: 1 addition & 1 deletion idc/demo_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def explore_demo_page(request):
is_json = False

try:
req = request.GET if request.GET else request.POST
req = request.GET if request.method == 'GET' else request.POST
is_dicofdic = (req.get('is_dicofdic', "False").lower() == "true")
source = req.get('data_source_type', DataSource.SOLR)
versions = json.loads(req.get('versions', '[]'))
Expand Down
9 changes: 6 additions & 3 deletions idc/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
re_path(r'^explore/filters/', views.parse_explore_filters, name='parse_explore_filters'),
re_path(r'^explore/bq_string/$', get_query_str_response, name='explore_bq_string'),
re_path(r'^explore/manifest/$', views.explorer_manifest, name='get_explore_manifest'),
re_path(r'^explore/manifest/series/$', views.explorer_manifest, name='get_series_ids_manifest'),
re_path(r'^tables/', views.populate_tables, name='populate_tables'),
re_path(r'^studymp/', views.studymp, name='studymp'),
re_path(r'^warning/', views.warn_page, name='warn'),
re_path(r'^about/$', views.about_page, name='about_page'),
re_path(r'^dashboard/', views.dashboard_page, name='dashboard'),
Expand All @@ -60,8 +60,11 @@
re_path(r'^cart/$', views.cart_page, name='cart'),
re_path(r'^explore/cart/$', views.cart_page, name='get_explore_cart'),
re_path(r'^cart_data/$', views.cart_data, name='get_cart_data'),
re_path(r'^series_ids/(?P<patient_id>[A-Za-z0-9\.\-_]+)/$', views.get_series, name='get_series_by_case'),
re_path(r'^series_ids/(?P<patient_id>[A-Za-z0-9\.\-_]+)/(?P<study_uid>[0-9\.]+)/$', views.get_series, name='get_series'),
re_path(r'^series_ids/$', views.get_series, name='get_series_ids_base'),
re_path(r'^series_ids_filter/$', views.get_series, name='get_series_ids_filter'),
re_path(r'^series_ids/(?P<collection_id>[A-Za-z0-9\.\-_]+)/$', views.get_series, name='get_series_by_collex'),
re_path(r'^series_ids/(?P<collection_id>[A-Za-z0-9\.\-_]+)/(?P<patient_id>[A-Za-z0-9\.\-_]+)/$', views.get_series, name='get_series_by_case'),
re_path(r'^series_ids/(?P<collection_id>[A-Za-z0-9\.\-_]+)/(?P<patient_id>[A-Za-z0-9\.\-_]+)/(?P<study_uid>[0-9\.]+)/$', views.get_series, name='get_series'),
re_path(r'^collaborators/$', views.collaborators, name='collaborators'),
re_path(r'^collections/', include('idc_collections.urls')),
re_path(r'^citations/', views.get_citations, name='get_citations'),
Expand Down
Loading