Mercurial > hg > orthanc-stone
changeset 2008:37d6805b80ee deep-learning
integration mainline->deep-learning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 18 Nov 2022 00:37:00 +0100 |
parents | 963f28eb40cb (current diff) c818be7cb940 (diff) |
children | 04148de691a7 |
files | Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp |
diffstat | 5 files changed, 19 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/StoneWebViewer/NEWS Wed Nov 02 15:14:56 2022 +0100 +++ b/Applications/StoneWebViewer/NEWS Fri Nov 18 00:37:00 2022 +0100 @@ -1,6 +1,10 @@ Pending changes in the mainline =============================== + +Version 2.4 (2022-11-02) +======================== + * New types of annotations: - Text annotation - Pixel probe
--- a/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp Wed Nov 02 15:14:56 2022 +0100 +++ b/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp Fri Nov 18 00:37:00 2022 +0100 @@ -4102,6 +4102,8 @@ Orthanc::Logging::EnableInfoLevel(true); //Orthanc::Logging::EnableTraceLevel(true); + LOG(INFO) << "Using DCMTK version: " << DCMTK_VERSION_NUMBER; + context_.reset(new OrthancStone::WebAssemblyLoadersContext(1, 4, 1)); context_->SetDicomCacheSize(128 * 1024 * 1024); // 128MB
--- a/CITATION.cff Wed Nov 02 15:14:56 2022 +0100 +++ b/CITATION.cff Fri Nov 18 00:37:00 2022 +0100 @@ -17,4 +17,5 @@ repository-code: 'https://hg.orthanc-server.com/orthanc-stone/' url: 'https://www.orthanc-server.com/' license: AGPL-3.0-or-later -date-released: '2022-03-24' +version: 2.4 +date-released: 2022-11-02
--- a/OrthancStone/Resources/SyncOrthancFolder.py Wed Nov 02 15:14:56 2022 +0100 +++ b/OrthancStone/Resources/SyncOrthancFolder.py Fri Nov 18 00:37:00 2022 +0100 @@ -32,7 +32,7 @@ import sys if sys.version_info[0] < 3: - from urllib import urlopen + from urllib2 import urlopen else: from urllib.request import urlopen
--- a/RenderingPlugin/Resources/SyncOrthancFolder.py Wed Nov 02 15:14:56 2022 +0100 +++ b/RenderingPlugin/Resources/SyncOrthancFolder.py Fri Nov 18 00:37:00 2022 +0100 @@ -28,7 +28,13 @@ import multiprocessing import os import stat -import urllib2 +import sys + +if sys.version_info[0] < 3: + from urllib2 import urlopen +else: + from urllib.request import urlopen + TARGET = os.path.join(os.path.dirname(__file__), 'Orthanc') PLUGIN_SDK_VERSION = '1.0.0' @@ -52,7 +58,7 @@ branch = x[0] source = x[1] target = os.path.join(TARGET, x[2]) - print target + print(target) try: os.makedirs(os.path.dirname(target)) @@ -61,8 +67,8 @@ url = '%s/%s/%s' % (REPOSITORY, branch, source) - with open(target, 'w') as f: - f.write(urllib2.urlopen(url).read()) + with open(target, 'wb') as f: + f.write(urlopen(url).read()) commands = []