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 11import importlib .metadata
22import json
33import os
4+ import warnings
45from copy import copy
56from pathlib import Path
6- import warnings
77
88
99def clean_dict (obj ):
@@ -115,9 +115,11 @@ 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. "
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+ )
121123 config_bool = _create_global_config (args )
122124 global_config = load_config (Path ().home () / "diffpyconfig.json" )
123125 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