Skip to content
Snippets Groups Projects
Commit 1cd48674 authored by Christian Doh Dinga's avatar Christian Doh Dinga
Browse files

delete NeSC package template python files

parent 1689c1be
No related branches found
No related tags found
1 merge request!1Solve distributed admm problem using centralized optimization
"""Documentation about demoses_distibuted_optimization."""
import logging
logging.getLogger(__name__).addHandler(logging.NullHandler())
__author__ = "Christian Doh Dinga"
__email__ = "c.dohdinga@tudelft.nl"
__version__ = "0.1.0"
"""Documentation about the demoses_distibuted_optimization module."""
# FIXME: put actual code here
def hello(name):
"""Say hello.
Function docstring using Google docstring style.
Args:
name (str): Name to say hello to
Returns:
str: Hello message
Raises:
ValueError: If `name` is equal to `nobody`
Example:
This function can be called with `Jane Smith` as argument using
>>> from demoses_distibuted_optimization.my_module import hello
>>> hello('Jane Smith')
'Hello Jane Smith!'
"""
if name == 'nobody':
raise ValueError('Can not say hello to nobody')
return f'Hello {name}!'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment