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