Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMichelsen committed Aug 18, 2022
1 parent 9e065aa commit 77002bb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/metaDMG/fit/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,17 @@ def run_single_config(
def run_single_config_count_errors(
config: Config,
) -> int:
"""Allows for using pool.map() (multiprocessing) while also counting the errors.
Parameters
----------
config
A config file.
Returns
-------
0 if no error, 1 if error
"""

try:
run_single_config(config)
Expand Down

0 comments on commit 77002bb

Please sign in to comment.