瀏覽代碼

use auto preset

Sebastian Bittrich 3 年之前
父節點
當前提交
56859621a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/viewer/helpers/preset.ts

+ 1 - 1
src/viewer/helpers/preset.ts

@@ -270,7 +270,7 @@ export const RcsbPreset = TrajectoryHierarchyPresetProvider({
                 representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'auto');
                 representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'auto');
             }
             }
         } if (p.kind === 'nakb') {
         } if (p.kind === 'nakb') {
-            representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'polymer-cartoon', { theme: { globalName: 'residue-name', focus: { name: 'residue-name' } } });
+            representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'auto', { theme: { globalName: 'residue-name', focus: { name: 'residue-name' } } });
         } else {
         } else {
             representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'auto');
             representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'auto');
         }
         }