Browse Source

fix to skip block with header SERVER

aliaksei-chareshneu 2 years ago
parent
commit
1ed3d84043
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-plugin-state/formats/volume.ts

+ 1 - 1
src/mol-plugin-state/formats/volume.ts

@@ -206,7 +206,7 @@ export const DscifProvider = DataFormatProvider({
         let i = 0;
         for (const block of blocks) {
             const entryId = Array.isArray(params?.entryId) ? params?.entryId[i] : params?.entryId;
-            if (block.categories['volume_data_3d_info']?.rowCount > 0) {
+            if (block.categories['volume_data_3d']?.rowCount > 0) {
                 volumes.push(b.apply(StateTransforms.Volume.VolumeFromDensityServerCif, { blockHeader: block.header, entryId }).selector);
             }
             i++;