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 1269d56 commit a585608Copy full SHA for a585608
libero/libero/__init__.py
@@ -1,4 +1,5 @@
1
import os
2
+import warnings
3
import yaml
4
from filelock import FileLock
5
@@ -41,11 +42,6 @@ def get_libero_path(query_key):
41
42
with open(config_file, "r") as f:
43
config = dict(yaml.load(f.read(), Loader=yaml.FullLoader))
44
- # Give warnings in case the user needs to access the paths
45
- for key in config:
46
- if not os.path.exists(config[key]):
47
- print(f"[Warning]: {key} path {config[key]} does not exist!")
48
-
49
assert (
50
query_key in config
51
), f"Key {query_key} not found in config file {config_file}. You need to modify it. Available keys are: {config.keys()}"
0 commit comments