Topology.write() — write residue topology library

write(file)
This command writes a residue topology library to the specified file. It is usually used after Topology.make().

file can be either a file name or a modfile.File() object open in write mode.

Example: See Topology.make() command.