Browse Source

handle deuterated

Sebastian Bittrich 3 years ago
parent
commit
861f665ab3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-io/writer/ligand-encoder.ts

+ 1 - 1
src/mol-io/writer/ligand-encoder.ts

@@ -136,7 +136,7 @@ export abstract class LigandEncoder implements Encoder<string> {
         if (this.hydrogens) {
             return false;
         }
-        return type_symbol === 'H';
+        return type_symbol === 'H' || type_symbol === 'D';
     }
 
     private getSortedFields<Ctx>(instance: Category.Instance<Ctx>, names: string[]) {