Module grafen::database [] [src]

Collect definitions for Residue and SheetConf objects into a DataBase which can be read from or saved to disk.

Structs

DataBase

A collection of residues and substrate configurations which can be saved to and read from disk.

Enums

ComponentEntry

Wrapper for accessing a shared interface from different components constructors.

DataBaseError

Functions

read_database

Read a DataBase from a JSON formatted file. The owned path is set to the input path.

write_database

Write a DataBase as a JSON formatted file. The function writes to that owned by the object.