{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.12.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceType":"competition","sourceId":99552,"databundleVersionId":13851420,"isSourceIdPinned":false},{"sourceType":"datasetVersion","sourceId":15165895,"datasetId":9711654,"databundleVersionId":16057537},{"sourceType":"datasetVersion","sourceId":15165799,"datasetId":9711587,"databundleVersionId":16057436},{"sourceType":"datasetVersion","sourceId":15165807,"datasetId":9711594,"databundleVersionId":16057445},{"sourceType":"datasetVersion","sourceId":15163892,"datasetId":9710260,"databundleVersionId":16055319}],"dockerImageVersionId":31286,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"# Run this to see the true path\n!ls kaggle/input/","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2026-03-13T09:03:14.429501Z","iopub.execute_input":"2026-03-13T09:03:14.430395Z","iopub.status.idle":"2026-03-13T09:03:14.553197Z","shell.execute_reply.started":"2026-03-13T09:03:14.430354Z","shell.execute_reply":"2026-03-13T09:03:14.552131Z"}},"outputs":[],"execution_count":null},{"cell_type":"markdown","source":"**Unzip the files and convert dicom files to niifti**","metadata":{}},{"cell_type":"code","source":"!zip -r output_folder.zip /kaggle/working/cta_final_zipped_series","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2026-03-13T11:29:10.2731Z","iopub.execute_input":"2026-03-13T11:29:10.273854Z","iopub.status.idle":"2026-03-13T11:30:22.756382Z","shell.execute_reply.started":"2026-03-13T11:29:10.273811Z","shell.execute_reply":"2026-03-13T11:30:22.755391Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"!rm -rf /kaggle/working/cta_nifti","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2026-03-13T11:29:02.458265Z","iopub.execute_input":"2026-03-13T11:29:02.458775Z","iopub.status.idle":"2026-03-13T11:29:02.587005Z","shell.execute_reply.started":"2026-03-13T11:29:02.458733Z","shell.execute_reply":"2026-03-13T11:29:02.585719Z"}},"outputs":[],"execution_count":null}]}