Explorar el Código

Fix docking-viewer presets

David Sehnal hace 4 años
padre
commit
295cb84cc8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/examples/docking-viewer/viewport.tsx

+ 1 - 1
src/examples/docking-viewer/viewport.tsx

@@ -139,7 +139,7 @@ const PocketPreset = StructureRepresentationPresetProvider({
 
         const components = {
             ligand: await presetStaticComponent(plugin, structureCell, 'ligand'),
-            surroundings: await plugin.builders.structure.tryCreateComponentFromSelection(structureCell, ligandSurroundings, `selection`),
+            surroundings: await plugin.builders.structure.tryCreateComponentFromSelection(structureCell, ligandSurroundings, `surroundings`),
         };
 
         const { update, builder, typeParams } = StructureRepresentationPresetProvider.reprBuilder(plugin, params);