@@ -5,19 +5,19 @@ Tools Utility
55
66The ``diffpy.utils.tools `` module provides tool functions for use with diffpy apps.
77
8- 1) ``get_user_info() ``: This function is designed for managing and tracking username and email information.
8+ - ``get_user_info() ``: This function is designed for managing and tracking username and email information.
99
10- Developers can use this function to simplify the process of loading, merging, and saving information consistently and easily.
11- Additionally, it saves the effort of re-entering information, and allows overriding current information by
12- passing parameters.
10+ Developers can use this function to simplify the process of loading, merging, and saving information consistently and easily.
11+ Additionally, it saves the effort of re-entering information, and allows overriding current information by
12+ passing parameters.
1313
14- 2) ``get_package_info() ``: This function loads package name and version information into a dictionary.
15- It updates the package information under the key "package_info" in the format {"package_name": "version_number"},
16- resulting in an entry in the passed metadata dictionary that looks like
17- ``{"package_info": {"package1": "version_number1", "package2": "version_number2"} `` if the function is called more than
18- once.
14+ - ``get_package_info() ``: This function loads package name and version information into a dictionary.
15+ It updates the package information under the key "package_info" in the format {"package_name": "version_number"},
16+ resulting in an entry in the passed metadata dictionary that looks like
17+ ``{"package_info": {"package1": "version_number1", "package2": "version_number2"} `` if the function is called more than
18+ once.
1919
20- Users can use these functions to track and manage versions of packages that can later be stored, for example, in an output
21- file header.
20+ Users can use these functions to track and manage versions of packages that can later be stored, for example, in an output
21+ file header.
2222
2323For a more in-depth tutorial for how to use these tools, click :ref: `here <Tools Example >`.
0 commit comments