diff --git a/package-lock.json b/package-lock.json index a1d69846359ef32d274b7becb84171feac7bd8df..2b72f7489f1079bc12ee416df0d1e8ccb8e37d0b 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/src/mol-io/writer/cif.ts b/src/mol-io/writer/cif.ts index d80de4033505ff0e9165802f09e2ea0a75bb034e..76298baf837774d20b1f727053960da10d2247fc 100644 --- a/src/mol-io/writer/cif.ts +++ b/src/mol-io/writer/cif.ts @@ -99,13 +99,17 @@ export namespace CifWriter { } } -// defines the information needed to encode certain fields: category and column name as well as encoding tag, precision is optional and identifies float columns -// TODO would be nice to infer strategy and precision if needed +/** + * Defines the information needed to encode certain fields: category and column name as well as encoding tag, precision is optional and identifies float columns. + */ export interface EncodingStrategyHint { categoryName: string, columnName: string, + // TODO would be nice to infer strategy and precision if needed encoding: EncodingType, - // number of decimal places to keep - must be specified to float columns + /** + * number of decimal places to keep - must be specified to float columns + */ precision?: number }