Skip to content

Commit

Permalink
add returns info to parse_args
Browse files Browse the repository at this point in the history
  • Loading branch information
jlnav committed Nov 19, 2019
1 parent b21dfd9 commit 0eeaef3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion libensemble/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,18 @@ def _client_parse_args(args):
def parse_args():
"""Parses command line arguments.
:doc:`(See usage)<utilities>`
Returns
-------
nworkers: :obj:`int`
Number of workers libEnsemble will inititate
is_master: :obj:`boolean`
Indicate if the current process is the manager process
libE_specs: :obj:`dict`
Settings and specifications for libEnsemble
:doc:`(example)<data_structures/libE_specs>`
"""
args = parser.parse_args(sys.argv[1:])
Expand Down

0 comments on commit 0eeaef3

Please sign in to comment.