Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Kiechlus
Kiechlus / changes.json
Created June 15, 2019 03:24
Orthanc additional image after stable study
{
"Changes" : [
{
"ChangeType" : "NewInstance",
"Date" : "20190615T041429",
"ID" : "0c7a4f9b-e037cf9a-d8ef9386-db692e07-7324e87f",
"Path" : "/instances/0c7a4f9b-e037cf9a-d8ef9386-db692e07-7324e87f",
"ResourceType" : "Instance",
"Seq" : 1
},
@Kiechlus
Kiechlus / testresults.py
Created March 8, 2019 08:13
Test failures
WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection broken: IncompleteRead(138139140 bytes read)', IncompleteRead(138139140 bytes read))': //api/v1.2/patientscans/8f9fe590-0b580377-0cd1bb3a-af0ac9e0-9ccf6d5b
WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection broken: IncompleteRead(11179229 bytes read)', IncompleteRead(11179229 bytes read))': //api/v1.2/patientscans/8f9fe590-0b580377-0cd1bb3a-af0ac9e0-9ccf6d5b
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection broken: IncompleteRead(7737398 bytes read)', IncompleteRead(7737398 bytes read))': //api/v1.2/patientscans/8f9fe590-0b580377-0cd1bb3a-af0ac9e0-9ccf6d5b
ERROR
===============================================================
@Kiechlus
Kiechlus / FileController.cs
Created January 20, 2019 04:17
Stream parallel requests into zip
/**
* Streaming: https://blog.stephencleary.com/2016/11/streaming-zip-on-aspnet-core.html
* Queue: https://robertwray.co.uk/blog/wrapping-concurrentqueue-t-to-make-it-eventful
*
*/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;