浏览代码

saguaro update

bioinsilico 2 年之前
父节点
当前提交
37e1842589
共有 3 个文件被更改,包括 15 次插入15 次删除
  1. 9 9
      package-lock.json
  2. 2 2
      package.json
  3. 4 4
      src/examples/assembly/index.ts

+ 9 - 9
package-lock.json

@@ -1,18 +1,18 @@
 {
   "name": "@rcsb/rcsb-saguaro-3d",
-  "version": "3.0.0-data-provider.16",
+  "version": "2.4.0-data-provider.18",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
       "name": "@rcsb/rcsb-saguaro-3d",
-      "version": "3.0.0-data-provider.16",
+      "version": "2.4.0-data-provider.18",
       "license": "MIT",
       "dependencies": {
         "@rcsb/rcsb-api-tools": "^4.1.1",
         "@rcsb/rcsb-molstar": "^2.5.11",
         "@rcsb/rcsb-saguaro": "^2.5.8",
-        "@rcsb/rcsb-saguaro-app": "^5.0.0-data-provider.14",
+        "@rcsb/rcsb-saguaro-app": "^5.0.0-data-provider.15",
         "molstar": "^3.31.4"
       },
       "devDependencies": {
@@ -2925,9 +2925,9 @@
       }
     },
     "node_modules/@rcsb/rcsb-saguaro-app": {
-      "version": "5.0.0-data-provider.14",
-      "resolved": "https://registry.npmjs.org/@rcsb/rcsb-saguaro-app/-/rcsb-saguaro-app-5.0.0-data-provider.14.tgz",
-      "integrity": "sha512-3jAjiBVASVMXGvcGBv7jSD1SYdV54gROcWC0vsveMa5LiYQLxJGp0qgpHQ1en7bjy3Z+ry68lLkS0Qs7GGiaCA==",
+      "version": "5.0.0-data-provider.15",
+      "resolved": "https://registry.npmjs.org/@rcsb/rcsb-saguaro-app/-/rcsb-saguaro-app-5.0.0-data-provider.15.tgz",
+      "integrity": "sha512-eb+rZivQ5HdPYhrPqYKNLtlxqrHR+BkAFGp/siYTvdUEwMExA1WbMdX90WhSkK1SDlFBH2z9adOgd5fQwuDCQg==",
       "dependencies": {
         "@rcsb/rcsb-api-tools": "^4.1.1",
         "@rcsb/rcsb-charts": "^0.0.3",
@@ -16011,9 +16011,9 @@
       }
     },
     "@rcsb/rcsb-saguaro-app": {
-      "version": "5.0.0-data-provider.14",
-      "resolved": "https://registry.npmjs.org/@rcsb/rcsb-saguaro-app/-/rcsb-saguaro-app-5.0.0-data-provider.14.tgz",
-      "integrity": "sha512-3jAjiBVASVMXGvcGBv7jSD1SYdV54gROcWC0vsveMa5LiYQLxJGp0qgpHQ1en7bjy3Z+ry68lLkS0Qs7GGiaCA==",
+      "version": "5.0.0-data-provider.15",
+      "resolved": "https://registry.npmjs.org/@rcsb/rcsb-saguaro-app/-/rcsb-saguaro-app-5.0.0-data-provider.15.tgz",
+      "integrity": "sha512-eb+rZivQ5HdPYhrPqYKNLtlxqrHR+BkAFGp/siYTvdUEwMExA1WbMdX90WhSkK1SDlFBH2z9adOgd5fQwuDCQg==",
       "requires": {
         "@rcsb/rcsb-api-tools": "^4.1.1",
         "@rcsb/rcsb-charts": "^0.0.3",

+ 2 - 2
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@rcsb/rcsb-saguaro-3d",
-  "version": "2.4.0-data-provider.18",
+  "version": "2.4.0-data-provider.19",
   "description": "RCSB Molstar/Saguaro Web App",
   "main": "build/dist/app.js",
   "files": [
@@ -90,7 +90,7 @@
     "@rcsb/rcsb-api-tools": "^4.1.1",
     "@rcsb/rcsb-molstar": "^2.5.11",
     "@rcsb/rcsb-saguaro": "^2.5.8",
-    "@rcsb/rcsb-saguaro-app": "^5.0.0-data-provider.14",
+    "@rcsb/rcsb-saguaro-app": "^5.0.0-data-provider.15",
     "molstar": "^3.31.4"
   },
   "bugs": {

+ 4 - 4
src/examples/assembly/index.ts

@@ -21,13 +21,13 @@ document.addEventListener("DOMContentLoaded", function(event) {
         return result;
     }
 
-    const args: {pdbId:string} = getJsonFromUrl().pdbId ? getJsonFromUrl() : {pdbId:"1XXX"};
-
+    const args: {pdbId:string} = getJsonFromUrl().pdbId ? getJsonFromUrl() : {pdbId:"1A6D"};
+    const defaultAsymId = "A"
     const config = {
         entryId: args.pdbId,
         title: "Title " + args.pdbId,
         subtitle: "Subtitle for " + args.pdbId,
-        asymId: "E"
+        asymId: defaultAsymId
     };
 
     const panel3d = new RcsbFv3DAssembly({
@@ -36,7 +36,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
         instanceSequenceConfig:{
             dropdownTitle: "Chain",
             module: "interface",
-            defaultValue: "E"
+            defaultValue: defaultAsymId
         },
         additionalConfig: {
             boardConfig: {