Skip to content

Instantly share code, notes, and snippets.

View fedorov's full-sized avatar
🇺🇦
Времена не выбирают, в них живут и умирают. - Александр Кушнер

Andrey Fedorov fedorov

🇺🇦
Времена не выбирают, в них живут и умирают. - Александр Кушнер
View GitHub Profile
@fedorov
fedorov / log.txt
Created March 6, 2024 17:10
SlicerRT error log - Slicer 5.7.0-2024-03-04
[Qt] Error(s):
[Qt] Cannot load library /Applications/Slicer-5.7.0-20240306.app/Contents/Extensions-32750/SlicerRT/lib/Slicer-5.7/qt-loadable-modules/libqSlicerBeamsModule.dylib: (dlopen(/Applications/Slicer-5.7.0-20240306.app/Contents/Extensions-32750/SlicerRT/lib/Slicer-5.7/qt-loadable-modules/libqSlicerBeamsModule.dylib, 0x0085): Library not loaded: @rpath/libomp.dylib
[Qt] Referenced from: <8CC410E5-7FE3-33F6-BC6E-A68391968FE8> /Applications/Slicer-5.7.0-20240306.app/Contents/Extensions-32750/SlicerRT/lib/Slicer-5.7/qt-loadable-modules/libvtkSlicerBeamsModuleMRML.dylib
[Qt] Reason: tried: '/Applications/Slicer-5.7.0-20240306.app/Contents/bin/../Extensions-32750/QuantitativeReporting/lib/Slicer-5.7/libomp.dylib' (no such file), '/Applications/Slicer-5.7.0-20240306.app/Contents/bin/../Extensions-32750/SlicerDevelopmentToolbox/lib/Slicer-5.7/libomp.dylib' (no such file), '/Applications/Slicer-5.7.0-20240306.app/Contents/bin/../Extensions-32750/IDCBrowser/lib/Slicer-5.7/libomp.dylib' (no such file),
@fedorov
fedorov / manifest.json
Created March 24, 2023 16:21
IDC TotalSegmentator example VolView manifest
{
"resources": [{
"url": "gs://public-datasets-idc/52b7231d-75da-4e71-896f-1b2a963a7425.dcm"
}, {
"url": "gs://public-datasets-idc/b89fd61f-8943-49da-847e-141738404892.dcm"
}, {
"url": "gs://public-datasets-idc/f470858c-d2f3-46f8-8de5-4586a0dffc65.dcm"
}, {
"url": "gs://public-datasets-idc/e57502fe-2ad2-42a8-99ae-75d378a4d10a.dcm"
}, {
@fedorov
fedorov / manifest.json
Created March 24, 2023 14:40
ProstateX-0004 VolView manifest
{"resources":[{"url":"gs://public-datasets-idc/d3029cc5-bfb0-4e63-9695-9856a9bc027b.dcm"},{"url":"gs://public-datasets-idc/e3f73acd-9378-4710-9fcb-15f6946d8d88.dcm"},{"url":"gs://public-datasets-idc/77f08f0c-18a8-46d2-9fc7-095b0e8aeeda.dcm"},{"url":"gs://public-datasets-idc/0f1f259f-7ce0-4f73-bf60-c7f56f3fc89e.dcm"},{"url":"gs://public-datasets-idc/c9d9e2dc-bcc3-452e-897a-6772cc9b297c.dcm"},{"url":"gs://public-datasets-idc/a44f3227-5f26-4ed3-bd31-9c60de0f9890.dcm"},{"url":"gs://public-datasets-idc/7e7f7685-8cf6-48cc-ae20-b815bd536024.dcm"},{"url":"gs://public-datasets-idc/ab42ef89-a9c7-4680-83b0-3e3ebcae6561.dcm"},{"url":"gs://public-datasets-idc/e5f1cbd9-74ab-4b82-96ba-9071fed1b98f.dcm"},{"url":"gs://public-datasets-idc/b6660113-6879-4143-972d-58e43ef8ea82.dcm"},{"url":"gs://public-datasets-idc/6705d766-14d9-4fdf-9375-48110626040e.dcm"},{"url":"gs://public-datasets-idc/db5a8629-1b2e-4533-9bed-4c70fe1e3de4.dcm"},{"url":"gs://public-datasets-idc/08f0f944-377d-4161-ac2f-68ddf8a45fdb.dcm"},{"url":"gs://public-da
{
"resources": [
{
"url": "gs://public-datasets-idc/3c8654c6-e4fe-4502-a4de-37a0c819caa7.dcm"
},
{
"url": "gs://public-datasets-idc/5253a384-150c-4b57-bdc3-28b5d4454924.dcm"
},
{
"url": "gs://public-datasets-idc/dc78c16c-dedf-4cbf-af8d-9a61bc043b83.dcm"
{"resources":[{"url":"gs://public-datasets-idc/0ec2bdbd-7d0d-4799-922a-4b8b236e72d6.dcm"},{"url":"gs://public-datasets-idc/e4434a95-0975-4e0a-99e0-d22be997ae3f.dcm"},{"url":"gs://public-datasets-idc/03dc371b-6daa-4756-ac5b-0d52c696d4bc.dcm"},{"url":"gs://public-datasets-idc/95326543-5ed0-4a19-b284-9d464e65ff0e.dcm"},{"url":"gs://public-datasets-idc/015ee421-306f-4557-884e-f90cab21a48e.dcm"},{"url":"gs://public-datasets-idc/6b74f655-5282-4d10-9321-e249c49e476b.dcm"},{"url":"gs://public-datasets-idc/cdbabc62-bb88-4713-a6d1-55f3787be2fc.dcm"},{"url":"gs://public-datasets-idc/f5f06c08-75d8-4dac-a7e5-1c807bc25acf.dcm"},{"url":"gs://public-datasets-idc/5ff094ea-35db-4f44-8216-ecc8e9c5c66c.dcm"},{"url":"gs://public-datasets-idc/26a7f25b-7c03-471f-8b96-3704a07329e0.dcm"},{"url":"gs://public-datasets-idc/d4c04b46-482c-4c16-80ee-63dba8ddf5da.dcm"},{"url":"gs://public-datasets-idc/d5f129f8-25ec-4b34-8f79-afa113157848.dcm"},{"url":"gs://public-datasets-idc/9f60e8a4-f926-4397-9d37-0d5a15223d53.dcm"},{"url":"gs://public-da
@fedorov
fedorov / ctr_images_ls.txt
Last active April 20, 2022 15:02
Kaapana runtime issues debugging
REF TYPE DIGEST SIZE PLATFORMS LABELS
docker.io/coredns/coredns:1.6.6 application/vnd.docker.distribution.manifest.list.v2+json sha256:41bee6992c2ed0f4628fcef75751048927bcd6b1cee89c79f6acb63ca5474d5a 12.3 MiB linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x io.cri-containerd.image=managed
docker.io/coredns/coredns@sha256:41bee6992c2ed0f4628fcef75751048927bcd6b1cee89c79f6acb63ca5474d5a application/vnd.docker.distribution.manifest.list.v2+json sha256:41bee6992c2ed
@fedorov
fedorov / tcga_nlst_sm_size.sql
Last active April 6, 2022 03:43
Total size of TCGA and NLST DICOM SM data in IDC v8 release
WITH
all_new_sm AS (
SELECT
collection_id,
COUNT(DISTINCT(SeriesInstanceUID)) AS num_series,
ROUND(SUM(instance_size)/(1024*1024*1024),2) AS size_GB
FROM
`bigquery-public-data.idc_v8.dicom_all`
WHERE
(collection_id LIKE "tcga%"
@fedorov
fedorov / google.js
Last active June 2, 2022 14:25
This the template OHIF Viewer configuration file for connecting with Google Healthcare DICOM. See tutorial here: https://tinyurl.com/idc-ohif-gcp
window.config = {
routerBasename: '/',
enableGoogleCloudAdapter: true,
// enable series filter parameter
filterQueryParam: true,
healthcareApiEndpoint: 'https://healthcare.googleapis.com/v1',
servers: {
// This is an array, but we'll only use the first entry for now
dicomWeb: [],
},
{
"hosting": {
"public": "public",
"headers": [
{
"source": "/**",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache, no-store, must-revalidate"
@fedorov
fedorov / stack_trace.txt
Created June 28, 2019 18:27
Slicer Jun 27 2019 crash after installing SimpleITK with pip
Process: Slicer [78341]
Path: /Applications/Slicer.app/Contents/MacOS/Slicer
Identifier: ???
Version: ??? (4.11.0-2019-06-27)
Code Type: X86-64 (Native)
Parent Process: zsh [738]
Responsible: Slicer [78341]
User ID: 501
Date/Time: 2019-06-28 14:19:39.643 -0400