Skip to content

Commit 0a59a0b

Browse files
Alison WuAlison Wu
authored andcommitted
better wording for capture user info
1 parent d24acb6 commit 0a59a0b

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

news/capture-user.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* Better wording on the capture user info functionality
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

src/diffpy/utils/tools.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ def get_user_info(args=None):
115115
global_config = load_config(Path().home() / "diffpyconfig.json")
116116
local_config = load_config(Path().cwd() / "diffpyconfig.json")
117117
if global_config is None and local_config is None:
118-
warnings.warn("No global config file, please follow prompts below.")
118+
warnings.warn("No global config file, please follow prompts below. "
119+
"The global config file is very important in crediting your work in the future. "
120+
"For more information, please refer to www.diffpy.org/diffpy.utils/examples/toolsexample.html")
119121
config_bool = _create_global_config(args)
120122
global_config = load_config(Path().home() / "diffpyconfig.json")
121123
config = _sorted_merge(clean_dict(global_config), clean_dict(local_config), clean_dict(args))

0 commit comments

Comments
 (0)