Esempio n. 1
0
 def _get_fitting_schema(cls):
     return load_schema("fitting.lj.schema.json")
Esempio n. 2
0
 def _get_schema(cls):
     return load_schema("potential.lj.schema.json")
Esempio n. 3
0
 def data_schema(cls):
     """ return the data schema,
     which is loaded from file the first time it is called"""
     if cls._data_schema is None:
         cls._data_schema = load_schema("symmetry.schema.json")
     return copy.deepcopy(cls._data_schema)
Esempio n. 4
0
 def get_schema(cls):
     return load_schema("potential.reaxff.schema.json")
Esempio n. 5
0
 def settings_schema(cls):
     """ return the settings schema,
     which is loaded from file the first time it is called only"""
     if cls._settings_schema is None:
         cls._settings_schema = load_schema("fitting_settings.schema.json")
     return copy.deepcopy(cls._settings_schema)