Saves parameters to json file
(self, json_path)
| 19 | self.update(json_path) |
| 20 | |
| 21 | def save(self, json_path): |
| 22 | """Saves parameters to json file""" |
| 23 | with open(json_path, 'w') as f: |
| 24 | json.dump(self.__dict__, f, indent=4) |
| 25 | |
| 26 | def update(self, json_path): |
| 27 | """Loads parameters from json file""" |
no outgoing calls
no test coverage detected