biotite.structure.io.pdbx.get_model_count¶
- biotite.structure.io.pdbx.get_model_count(pdbx_file, data_block=None)[source]¶
Get the number of models contained in a
PDBxFile
.- Parameters
- pdbx_fileCIFFile or CIFBlock or BinaryCIFFile or BinaryCIFBlock
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. If the data block object is passed directly to pdbx_file, this parameter is ignored.
- Returns
- model_countint
The number of models.