Skip to content

Commit

Permalink
initialiser and pool logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rhayes777 committed Apr 22, 2024
1 parent 4c792fc commit c287266
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion autofit/non_linear/initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def samples_from_model(
return self.samples_in_test_mode(total_points=total_points, model=model)

logger.info(
"Generating initial samples of model, which are subject to prior limits and other constraints."
f"Generating initial samples of model, which are subject to prior limits and other constraints. "
f"Using {n_cores} cores."
)

unit_parameter_lists = []
Expand Down
2 changes: 1 addition & 1 deletion autofit/non_linear/parallel/sneaky.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def __init__(
initializer
initargs
"""
logger.info(f"Creating SneakyPool with {processes} processes")
logger.info(f"Creating pool with {processes} processes")
self._processes = [
SneakyProcess(
str(number),
Expand Down

0 comments on commit c287266

Please sign in to comment.