We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b189de commit e587d6cCopy full SHA for e587d6c
silnlp/common/environment.py
@@ -137,9 +137,9 @@ def resolve_data_dir(self) -> Path:
137
LOGGER.info(f"Using workspace: {sil_nlp_data_path} as per environment variable SIL_NLP_DATA_PATH.")
138
return Path(sil_nlp_data_path)
139
else:
140
- raise Exception(
+ LOGGER.warning(
141
f"The path defined by environment variable SIL_NLP_DATA_PATH ({sil_nlp_data_path}) is not a "
142
- + "real directory."
+ + "local directory."
143
)
144
145
gutenberg_path = Path("G:/Shared drives/Gutenberg")
0 commit comments