From 23b1e41de1712db7cf93ba1e3f66abad3960cd71 Mon Sep 17 00:00:00 2001 From: Serrof Date: Wed, 23 Jan 2019 20:37:06 +0000 Subject: [PATCH] Added missing docstring for config.load --- config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 54dba6d..4fbdf9a 100644 --- a/config.py +++ b/config.py @@ -63,6 +63,9 @@ def __init__(self): self.load("default_conf.xml") def load(self, file): + """Function to load configuration from input file. + + """ # get root of XML configuration file tree = ET.parse(file) @@ -155,7 +158,7 @@ def compute_complement(self): self.const_grav["Sun_constant"] = self.const_grav["G"] * self.const_mass["mass_Sun"] def reset(self): - """Function to reset all parameters and constants to initially loaded values. + """Function to reset all parameters and constants to last values loaded from file. """