diff --git a/hbp_nrp_virtual_coach/pynrp/config.py b/hbp_nrp_virtual_coach/pynrp/config.py index 97dc6ae92189f2d2315c5318613d8aa9dc94f3b2..0beab11ed9448974b10f3a8a07decf8c1f759d7b 100644 --- a/hbp_nrp_virtual_coach/pynrp/config.py +++ b/hbp_nrp_virtual_coach/pynrp/config.py @@ -49,7 +49,7 @@ class Config(dict): Load and validate the configuration file. Update all proxy service parameters to use the given environment. - :param environment A string containing the http address of the server running + :param environment: A string containing the http address of the server running the NRP """ @@ -95,8 +95,8 @@ class Config(dict): Internal helper to validate that a key with given list of values/sub-keys is present in the config. Raise an exception if the key or any values are missing. - :param key A string representing the high level group to check for in the config. - :param values A list of sub-keys to check under the parent key. + :param key: A string representing the high level group to check for in the config. + :param values: A list of sub-keys to check under the parent key. """ if key not in self: diff --git a/hbp_nrp_virtual_coach/pynrp/simulation.py b/hbp_nrp_virtual_coach/pynrp/simulation.py index dc30bcc657ac3ed86d7f386b80bcb24fcc80da77..ea5b829821759012f4c4225e62409714d231787d 100644 --- a/hbp_nrp_virtual_coach/pynrp/simulation.py +++ b/hbp_nrp_virtual_coach/pynrp/simulation.py @@ -277,7 +277,8 @@ class Simulation(object): def __on_error(self, msg): """ Function to log ROS CLE error messages. - :param msg A CLEError message + + :param msg: A CLEError message """ error_msg = "There was a %(type)s error resulting from the %(source)s." \ " The full error is below:\n %(msg)s" % {'type': msg['errorType'],