Skip to content

Commit

Permalink
include new modules in the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Carnis committed Mar 18, 2022
1 parent cd0db44 commit 7a6607a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
5 changes: 3 additions & 2 deletions bcdi/utils/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
# Jerome Carnis, carnis_jerome@yahoo.fr

"""
Definition of the correct parameters for the config files.
Validation of configuration parameters.
Parameter validation is performed over the excepted parameters.
The validation is performed only on the expected parameters. Other parameters are simply
discarded.
"""
from numbers import Number, Real
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion bcdi/utils/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class ConfigParser:
file. Some validation is also realized in the class.
:param file_path: path of the configuration file that contains
the arguments, str.
the arguments, str.
:param command_line_args: an optional dictionary of command-line arguments
"""

Expand Down
33 changes: 33 additions & 0 deletions doc/modules/utils/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,39 @@ API Reference
.. automodule:: bcdi.utils.image_registration
:members:

io_helper
^^^^^^^^^

Class and decorators related to the safe opening of files.

API Reference
-------------

.. automodule:: bcdi.utils.io_helper
:members:

parameters
^^^^^^^^^^

Function related to the validation of configuration parameters.

API Reference
-------------

.. automodule:: bcdi.utils.parameters
:members:

parser
^^^^^^

Class and functions related to loading of the config file and command line parameters.

API Reference
-------------

.. automodule:: bcdi.utils.parser
:members:

validation
^^^^^^^^^^

Expand Down

0 comments on commit 7a6607a

Please sign in to comment.