From d08502bc1bfc5602f3eb77296cc2e3ee2197ac99 Mon Sep 17 00:00:00 2001
From: David Sehnal <david.sehnal@gmail.com>
Date: Wed, 29 May 2019 16:22:11 +0200
Subject: [PATCH] update DensityServer URL

---
 src/apps/structure-info/volume.ts                             | 2 +-
 .../behavior/dynamic/volume-streaming/transformers.ts         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/apps/structure-info/volume.ts b/src/apps/structure-info/volume.ts
index 4b3e54895..c432e83fd 100644
--- a/src/apps/structure-info/volume.ts
+++ b/src/apps/structure-info/volume.ts
@@ -93,4 +93,4 @@ interface Args {
 }
 const args: Args = parser.parseArgs();
 
-run(`https://webchem.ncbr.muni.cz/DensityServer/em/emd-${args.emdb}/cell?detail=4`, args.mesh);
\ No newline at end of file
+run(`https://ds.litemol.org/em/emd-${args.emdb}/cell?detail=4`, args.mesh);
\ No newline at end of file
diff --git a/src/mol-plugin/behavior/dynamic/volume-streaming/transformers.ts b/src/mol-plugin/behavior/dynamic/volume-streaming/transformers.ts
index 5a2228f6b..dfabd0d16 100644
--- a/src/mol-plugin/behavior/dynamic/volume-streaming/transformers.ts
+++ b/src/mol-plugin/behavior/dynamic/volume-streaming/transformers.ts
@@ -29,7 +29,7 @@ export const InitVolumeStreaming = StateAction.build({
         return {
             method: PD.Select<VolumeServerInfo.Kind>(getStreamingMethod(a && a.data), [['em', 'EM'], ['x-ray', 'X-Ray']]),
             id: PD.Text((a && a.data.models.length > 0 && a.data.models[0].label) || ''),
-            serverUrl: PD.Text('https://webchem.ncbr.muni.cz/DensityServer')
+            serverUrl: PD.Text('https://ds.litemol.org')
         };
     },
     isApplicable: (a) => a.data.models.length === 1
@@ -100,7 +100,7 @@ const CreateVolumeStreamingInfo = PluginStateTransform.BuiltIn({
     to: VolumeServerInfo,
     params(a) {
         return {
-            serverUrl: PD.Text('https://webchem.ncbr.muni.cz/DensityServer'),
+            serverUrl: PD.Text('https://ds.litemol.org'),
             source: PD.MappedStatic('x-ray', {
                 'em': PD.Group({
                     isoValue: createIsoValueParam(VolumeIsoValue.relative(1))
-- 
GitLab