@@ -77,11 +77,11 @@ def _sorted_merge(*dicts):
77
77
78
78
def _create_global_config (args ):
79
79
username = input (
80
- f"Please enter the name of the user would want future work to be credited to "
80
+ f"Please enter the name you would want future work to be credited to "
81
81
f"[{ args .get ('username' , '' )} ]: "
82
82
).strip () or args .get ("username" , "" )
83
83
email = input (
84
- f"Please enter the email of the user "
84
+ f"Please enter the your email "
85
85
f"[{ args .get ('email' , '' )} ]: "
86
86
).strip () or args .get ("email" , "" )
87
87
return_bool = False if username is None or email is None else True
@@ -115,7 +115,11 @@ def get_user_info(args=None):
115
115
local_config = load_config (Path ().cwd () / "diffpyconfig.json" )
116
116
if global_config is None and local_config is None :
117
117
print (
118
- "No global config file, please follow prompts below. "
118
+ "No global configuration file was found containing information about the user to associate with the data. "
119
+ "By following the prompts below you can add your name and email to this file on the current computer and "
120
+ "your name will be automatically associated with subsequent diffpy data by default. "
121
+ "This is not recommended on a shared or public computer. "
122
+ "You will only have to do that once. "
119
123
"For more information, please refer to www.diffpy.org/diffpy.utils/examples/toolsexample.html"
120
124
)
121
125
config_bool = _create_global_config (args )
0 commit comments