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

chore: update server #1626

Merged
merged 1 commit into from
Nov 26, 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
2 changes: 1 addition & 1 deletion packages/adapters/examples/segmentationExport/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ async function run() {
"1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463",
SeriesInstanceUID:
"1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561",
wadoRsRoot: "https://d3t6nz73ql33tx.cloudfront.net/dicomweb"
wadoRsRoot: "https://d14fa38qiwhyfd.cloudfront.net/dicomweb"
});

// Define a volume in memory
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/multiVolumeAPI/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function run() {
// Init Cornerstone and related libraries
await initDemo();

const wadoRsRoot = 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb';
const wadoRsRoot = 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb';
const StudyInstanceUID =
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463';

Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/multiVolumeCanvasToWorld/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function run() {
// Init Cornerstone and related libraries
await initDemo();

const wadoRsRoot = 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb';
const wadoRsRoot = 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb';
const StudyInstanceUID =
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463';

Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/programaticPanZoom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/renderToCanvas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/stackAPI/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/stackBasic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/stackCanvasToWorld/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/stackEvents/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/stackPosition/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ async function run() {
SeriesInstanceUID:
'1.3.6.1.4.1.9590.100.1.2.160160590111755920740089886004263812825',
wadoRsRoot:
getLocalUrl() || 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
getLocalUrl() || 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
4 changes: 2 additions & 2 deletions packages/core/examples/stackProgressive/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,14 @@ async function run() {
SeriesInstanceUID:
'1.3.6.1.4.1.9590.100.1.2.160160590111755920740089886004263812825',
wadoRsRoot:
getLocalUrl() || 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
getLocalUrl() || 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

const imageIdsCt = await createImageIdsAndCacheMetaData({
StudyInstanceUID: '1.3.6.1.4.1.25403.345050719074.3824.20170125113417.1',
SeriesInstanceUID: '1.3.6.1.4.1.25403.345050719074.3824.20170125113545.4',
wadoRsRoot:
getLocalUrl() || 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
getLocalUrl() || 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/stackProperties/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/volumeBasic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/volumeEvents/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/volumePriorityLoading/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async function run() {
// Init Cornerstone and related libraries
await initDemo();

const wadoRsRoot = 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb';
const wadoRsRoot = 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb';
const StudyInstanceUID =
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463';

Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/volumeVoiSigmoid/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/core/examples/wsi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function run() {
// Get Cornerstone imageIds and fetch metadata into RAM
// TODO - deploy the testdata publically
const wadoRsRoot =
getLocalUrl() || 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb';
getLocalUrl() || 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb';
const client = new api.DICOMwebClient({ url: wadoRsRoot });
const imageIds = await createImageIdsAndCacheMetaData({
StudyInstanceUID: '1.2.276.1.74.1.2.132733202464108492637644434464108492',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ async function run() {
SeriesInstanceUID:
'1.3.6.1.4.1.9590.100.1.2.160160590111755920740089886004263812825',
wadoRsRoot:
getLocalUrl() || 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
getLocalUrl() || 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
6 changes: 3 additions & 3 deletions packages/dicomImageLoader/examples/htj2kVolumeBasic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ async function run() {
StudyInstanceUID: '1.3.6.1.4.1.25403.345050719074.3824.20170125113417.1',
SeriesInstanceUID: '1.3.6.1.4.1.25403.345050719074.3824.20170125113545.4',
wadoRsRoot:
getLocalUrl() || 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
getLocalUrl() || 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down Expand Up @@ -293,8 +293,8 @@ async function run() {
imageLoadPoolManager.setMaxSimultaneousRequests(RequestType.Prefetch, 12);
imageLoadPoolManager.setMaxSimultaneousRequests(RequestType.Thumbnail, 16);

async function loadVolume(volumeId, imageIds, config, text, purge=true) {
if( purge ) {
async function loadVolume(volumeId, imageIds, config, text, purge = true) {
if (purge) {
cache.purgeCache();
} else {
cache.purgeVolumeCache();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

imageIds = imageIds.slice(70, 80);
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/examples/annotationToolModes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Define a volume in memory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async function run() {
const stackLabelmapToolGroup = setupTools(stackSegContourToolGroupId, true);
const volumeLabelmapToolGroup = setupTools(volumeSegContourToolGroupId, true);

const wadoRsRoot = 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb';
const wadoRsRoot = 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb';
const StudyInstanceUID =
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463';
const volumeImageIds = await createImageIdsAndCacheMetaData({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/examples/dynamicPetCt/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ function setUpSynchronizers() {

async function setUpDisplay() {
const { metaDataManager } = cornerstoneDICOMImageLoader.wadors;
const wadoRsRoot = 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb';
const wadoRsRoot = 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb';
const StudyInstanceUID =
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

const smallVolumeImageIds = [imageIds[0], imageIds[1]];
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/examples/labelmapSegmentLocking/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Define a volume in memory
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/examples/labelmapSwapping/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

const smallVolumeImageIds = [imageIds[0], imageIds[1]];
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/examples/mipJumpToClick/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async function run() {
],
});

const wadoRsRoot = 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb';
const wadoRsRoot = 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb';
const StudyInstanceUID =
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463';

Expand Down
2 changes: 1 addition & 1 deletion packages/tools/examples/modifierKeys/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Instantiate a rendering engine
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/examples/orientationMarker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function getImageStacks() {
wadoRsRoot: wadoRsRoot1,
});

const wadoRsRoot = 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb';
const wadoRsRoot = 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb';
const StudyInstanceUID =
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ async function run() {
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot:
getLocalUrl() || 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
getLocalUrl() || 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Define a volume in memory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

// Define a volume in memory
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/examples/stackLabelmapSegmentation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

const mgImageIds = await createImageIdsAndCacheMetaData({
Expand Down
2 changes: 1 addition & 1 deletion packages/tools/examples/tutorial/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function run() {
'1.3.6.1.4.1.14519.5.2.1.7009.2403.334240657131972136850343327463',
SeriesInstanceUID:
'1.3.6.1.4.1.14519.5.2.1.7009.2403.226151125820845824875394858561',
wadoRsRoot: 'https://d3t6nz73ql33tx.cloudfront.net/dicomweb',
wadoRsRoot: 'https://d14fa38qiwhyfd.cloudfront.net/dicomweb',
});

const viewport = renderingEngine.getViewport(viewportId);
Expand Down