biotite.structure.io.pdbx.get_model_count

biotite.structure.io.pdbx.get_model_count(file, data_block=None)[source]

Get the number of models contained in a PDBxFile.

Parameters
filePDBxFile

The file object.

data_blockstr, optional

The name of the data block. Default is the first (and most times only) data block of the file.

Returns
model_countint

The number of models.