Skip to content

Commit 28cb35f

Browse files
committed
Improve sentence style within documentation
1 parent 259edbf commit 28cb35f

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Examples
2121
Fix
2222
---
2323

24-
- Start date is now set when pulling an experiment
25-
- Supported Python version is now >= 3.9
26-
- Changed row identification in ResultProcessor to experiment ID instead of checking keyfields
24+
- Start date is now set when pulling an experiment.
25+
- Supported Python version is now >= 3.9.
26+
- Changed row identification in ResultProcessor to experiment ID instead of checking keyfields.
2727
- Stack traces are now correctly logged into the mysql database, as the used mysql connector implementation has been changed to C.
28-
- Changed multiprocessing to joblib due to issues with the example notebooks
28+
- Changed multiprocessing to joblib due to issues with the example notebooks.
2929
- The ``random_order`` parameter is not needed anymore for the execution, therefore it has been removed.
3030
- Documentation of ``PyExperimenter.reset_experiments()`` has been updated to reflect the changes in the functionality.
3131

docs/source/how-to-contribute.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ At the end, please make sure that you also :ref:`extended the unit tests <contri
1717
Creating an Issue
1818
------------------
1919

20-
A GitHub issue should contain any information that is needed that a third person understands the problem (in case of a bug) or the vision of a new feature. To create an issue
20+
A GitHub issue should contain any information that is needed that a third person understands the problem (in case of a bug) or the vision of a new feature. To create an issue:
2121

2222
1. Go to the `GitHub Issues <github_py_experimenter_issues_>`_.
2323
2. Summarize the bug / vision as title of the issue.
@@ -182,9 +182,9 @@ The documentation of the ``PyExperimenter`` is key to all users to understand th
182182
Create Pull Request
183183
--------------------
184184

185-
After all changes are made, including :ref:`tests <contribute_unit_tests>` and :ref:`documentation <contribute_update_documentation>`, make sure to commit and :ref:`push <contribute_fork_project>` all your changes.
185+
After all changes are made, including :ref:`tests <contribute_unit_tests>` and :ref:`documentation <contribute_update_documentation>`, make sure to commit and :ref:`push <contribute_fork_project>` all your changes.
186186

187-
Afterwards, go to the `PyExperimenter GitHub Pull Requests <github_py_experimenter_pulls_>`_ and create a new pull request.
187+
Afterwards, go to the `PyExperimenter GitHub Pull Requests <github_py_experimenter_pulls_>`_ and create a new pull request.
188188

189189
1. Make sure to select the correct source and destination repositories and according branches. The source repository is your fork, and the source branch is the ``<feature_branch_name>``. The destination repository is ``tornede/py_experimenter`` and the destination branch is ``develop``.
190190

docs/source/usage/execution.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ A ``PyExperimenter`` can be created without any further information, assuming th
2929
3030
Additionally, further information can be given to ``PyExperimenter``:
3131

32-
- ``experiment_configuration_file_path``: The path of the :ref:`experiment configuration file <experiment_configuration_file>`. Default: ``config/experiment_configuration.cfg``
32+
- ``experiment_configuration_file_path``: The path of the :ref:`experiment configuration file <experiment_configuration_file>`. Default: ``config/experiment_configuration.cfg``.
3333
- ``database_credential_file_path``: The path of the :ref:`database credential file <database_credential_file>`. Default: ``config/database_credentials.cfg``
3434
- ``database_name``: The name of the database to manage the experiments. If given, it will overwrite the database name given in the `experiment_configuration_file_path`.
3535
- ``table_name``: The name of the database table to manage the experiments. If given, it will overwrite the table name given in the `experiment_configuration_file_path`.
36-
- ``name``: The name of the experimenter, which will be added to the database table of each executed experiment. If using the PyExperimenter on an HPC system, this can be used for the job ID, so that the according log file can easily be found. Default: ``PyExperimenter``
36+
- ``name``: The name of the experimenter, which will be added to the database table of each executed experiment. If using the PyExperimenter on an HPC system, this can be used for the job ID, so that the according log file can easily be found. Default: ``PyExperimenter``.
3737

3838

3939
-------------------
@@ -118,7 +118,7 @@ The following status exist:
118118

119119
- ``created``: All parameters for the experiment are defined and the experiment is ready for execution.
120120
- ``running``: The experiment is currently in execution.
121-
- ``done``: The execution of the experiment terminated without interruption and the results are written into the database
121+
- ``done``: The execution of the experiment terminated without interruption and the results are written into the database.
122122
- ``error``: An error occurred during execution, which is also logged into the database.
123123

124124

py_experimenter/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
import numpy as np
77

8-
from py_experimenter.exceptions import ConfigError, MissingLogTableError, NoConfigFileError, ParameterCombinationError
8+
from py_experimenter.exceptions import ConfigError, NoConfigFileError, ParameterCombinationError
99

1010

1111
def load_config(path):
1212
"""
13-
Load and return configuration file
13+
Load and return configuration file.
1414
:param path: path to the config file
1515
:return: configuration file
1616
"""
@@ -50,7 +50,7 @@ def get_keyfield_data(config):
5050
def extract_db_credentials_and_table_name_from_config(config):
5151
"""
5252
Initialize connection to database based on configuration file. If the tables does not exist, a new one will be
53-
created automatically
53+
created automatically.
5454
:param config: Configuration file with database and experiment information
5555
:return: mysql_connector and table name from the config file
5656
"""

0 commit comments

Comments
 (0)