File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
import importlib .metadata
2
2
import json
3
3
import os
4
+ import warnings
4
5
from copy import copy
5
6
from pathlib import Path
6
- import warnings
7
7
8
8
9
9
def clean_dict (obj ):
@@ -115,9 +115,11 @@ def get_user_info(args=None):
115
115
global_config = load_config (Path ().home () / "diffpyconfig.json" )
116
116
local_config = load_config (Path ().cwd () / "diffpyconfig.json" )
117
117
if global_config is None and local_config is None :
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" )
118
+ warnings .warn (
119
+ "No global config file, please follow prompts below. "
120
+ "The global config file is very important in crediting your work in the future. "
121
+ "For more information, please refer to www.diffpy.org/diffpy.utils/examples/toolsexample.html"
122
+ )
121
123
config_bool = _create_global_config (args )
122
124
global_config = load_config (Path ().home () / "diffpyconfig.json" )
123
125
config = _sorted_merge (clean_dict (global_config ), clean_dict (local_config ), clean_dict (args ))
You can’t perform that action at this time.
0 commit comments