Browse Source

mol-model: atom_site.B_iso_or_equiv added to mmCIF exporter

David Sehnal 4 years ago
parent
commit
f9ea48fd7b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/mol-model/structure/export/categories/atom_site.ts

+ 1 - 0
src/mol-model/structure/export/categories/atom_site.ts

@@ -52,6 +52,7 @@ const atom_site_fields = CifWriter.fields<StructureElement.Location, Structure>(
     .float('Cartn_y', P.atom.y, { digitCount: 3, encoder: E.fixedPoint3 })
     .float('Cartn_z', P.atom.z, { digitCount: 3, encoder: E.fixedPoint3 })
     .float('occupancy', P.atom.occupancy, { digitCount: 2, encoder: E.fixedPoint2 })
+    .float('B_iso_or_equiv', P.atom.B_iso_or_equiv, { digitCount: 2, encoder: E.fixedPoint2 })
     .int('pdbx_formal_charge', P.atom.pdbx_formal_charge, {
         encoder: E.deltaRLE,
         valueKind: (k, d) =>  k.unit.model.atomicHierarchy.atoms.pdbx_formal_charge.valueKind(k.element)