save_to_json#

save_to_json(result, filename, indent=4)[source]#

Save result dictionary to a json file, with RDKit Molecules removed

Parameters:
  • result (dict) – Dictionary output of functions such as sanitize_complex()

  • filename (str) – filename of output file

  • indent (int, optional, default=4) – Indentation of json file