Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
json_collector.checksRetriever Class Reference

Public Member Functions

 __init__ (self, study_path)
 
 run (self)
 
bool json_file_exists (self)
 
bool read_json_file (self)
 
bool read_json_schema (self)
 
bool validate_json (self)
 
bool has_errors (self)
 
 print_errors (self)
 
 get_ids (self)
 
 get_checks (self)
 

Public Attributes

 study_path = study_path
 
str json_file = study_path / "check-config.json"
 
 json_file_content = None
 
str json_schema_file = "./parse_studies/json_schema.json"
 
 json_schema_content = None
 
list test_pairs = []
 
list test_ids = []
 
list errors = []
 
str json_file_content = self.study_path.parts[-2] + " / " + self.study_path.parts[-1]
 

The documentation for this class was generated from the following file: