Skip to content

Commit b03baff

Browse files
committed
added link to read the docs page
1 parent 641569a commit b03baff

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

ngcsimlib/__init__.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
from . import utils
32
from . import controller
43
from . import commands
@@ -27,7 +26,7 @@ def preload_modules():
2726
if not os.path.isfile(module_path):
2827
warnings.warn("\nMissing file to preload modules from. Attempted to locate file at \"" + str(module_path) +
2928
"\". No modules will be preloaded. "
30-
"\nSee https://ngc-learn.readthedocs.io/en/latest/tutorials/model_basics/json_modules.html for additional information")
29+
"\nSee https://ngc-learn.readthedocs.io/en/latest/tutorials/model_basics/json_modules.html for additional information")
3130
return
3231

3332
with open(module_path, 'r') as file:
@@ -65,17 +64,16 @@ def configure():
6564
if not os.path.isfile(config_path):
6665
warnings.warn("\nMissing configuration file. Attempted to locate file at \"" + str(config_path) +
6766
"\". Default Config will be used. "
68-
"\nSee PUT LINK HERE for additional information")
67+
"\nSee https://ngc-learn.readthedocs.io/en/latest/tutorials/model_basics/configuration.html for "
68+
"additional information")
6969
return
7070

71-
init_config(config_path)
72-
7371

72+
init_config(config_path)
7473

7574

7675
if not Path(argv[0]).name == "sphinx-build" or Path(argv[0]).name == "build.py":
7776
if "readthedocs" not in argv[0]: ## prevent readthedocs execution of preload
7877
configure()
7978
logger.init_logging()
8079
preload_modules()
81-

0 commit comments

Comments
 (0)