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 4ac07a9Copy full SHA for 4ac07a9
libero/libero/__init__.py
@@ -1,4 +1,5 @@
1
import os
2
+import warnings
3
import yaml
4
from filelock import FileLock
5
@@ -44,7 +45,7 @@ def get_libero_path(query_key):
44
45
# Give warnings in case the user needs to access the paths
46
for key in config:
47
if not os.path.exists(config[key]):
- print(f"[Warning]: {key} path {config[key]} does not exist!")
48
+ warnings.warn(f"{key} path {config[key]} does not exist!")
49
50
assert (
51
query_key in config
0 commit comments