Loads parameters from json file
(self, json_path)
| 24 | json.dump(self.__dict__, f, indent=4) |
| 25 | |
| 26 | def update(self, json_path): |
| 27 | """Loads parameters from json file""" |
| 28 | with open(json_path) as f: |
| 29 | params = json.load(f) |
| 30 | self.__dict__.update(params) |
| 31 | |
| 32 | @property |
| 33 | def dict(self): |
no outgoing calls
no test coverage detected