read_saved_jsonl
- emmet.core.lobster.read_saved_jsonl(filename, pymatgen_objs=True, query='structure')
Read the data from *.jsonl.gz files corresponding to query.
- Return type:
dict[str,Any]- Parameters:
filename (str)
pymatgen_objs (bool)
query (str)
Parameters
- filename: str.
name of the JSON lines file to read
- pymatgen_objs: bool.
if True will convert structure,coop, cobi, cohp and dos to pymatgen objects
- query: str or None.
field name to query from the JSON lines file. If None, all data will be returned.
Returns
- dict
Returns a dictionary with lobster task JSON data corresponding to query.