openforcefield.utils.utils.convert_all_quantities_to_string

openforcefield.utils.utils.convert_all_quantities_to_string(smirnoff_data)[source]

Traverses a SMIRNOFF data structure, attempting to convert all quantities into strings.

Parameters
smirnoff_datadict

A hierarchical dict structured in compliance with the SMIRNOFF spec

Returns
converted_smirnoff_datadict

A hierarchical dict structured in compliance with the SMIRNOFF spec, with simtk.unit.Quantitys converted to string