module
cifCIF file format
Classes
Enums
- class Style: Simple = 0 NoBlankLines = 1 PreferPairs = 2 Pdbx = 3 Indent35 = 4 Aligned = 5
- Members:
Functions
- def as_int(value: str) -> int
- Returns int number from string value.
- def as_int(value: str, default: int) -> int
- Returns int number from string value or the second arg if null.
- def as_number(value: str, default: float = nan) -> float
- Returns float number from string
- def as_string(value: str) -> str
- Get string content (no quotes) from raw string.
- def is_null(value: str) -> bool
- def quote(string: str) -> str
- def quote_list(arg0: list, /) -> typing.List[str]
- def read(filename: str) -> Document
- Reads normal or gzipped CIF file.
- def read_file(filename: str) -> Document
- Reads a CIF file copying data into Document.
- def read_mmjson(filename: str) -> Document
- Reads normal or gzipped mmJSON file.
- def read_string(data: str) -> Document
- Reads a string as a CIF file.