msmbuilder.io.preload_top

msmbuilder.io.preload_top(meta)

Load one topology file into memory.

This function checks to make sure there’s only one topology file in play. When sampling frames, you have to have all the same topology to concatenate.

Parameters:
meta : pd.DataFrame

The DataFrame of metadata with a column named ‘top_fn’

Returns:
top : md.Topology

The one topology file that can be used for all trajectories.