BaseTopologyWriter

class mdcraft.io.base.BaseTopologyWriter(filename: str | Path)[source]

Bases: BaseWriter

Base class for topology writers.

Methods

close

Closes the topology or trajectory file and deletes the handle.

open

Opens the topology or trajectory file and stores a handle to it.

abstractmethod close() None

Closes the topology or trajectory file and deletes the handle.

abstractmethod open() None

Opens the topology or trajectory file and stores a handle to it.