Add function to estimate project directory path

This commit is contained in:
2025-04-11 11:05:41 +02:00
parent 68a7d5dc2b
commit cea83396d2

View File

@ -146,6 +146,12 @@ def metadata_dict_to_dataframe(metadata: dict, shape: tuple):
return df
def resolve_project_path():
try:
thisFilePath = os.path.abspath(__file__)
except NameError:
thisFilePath = os.getcwd()
return os.path.normpath(os.path.join(thisFilePath, "..", "..", ".."))
def load_project_yaml_files(projectPath : str, filename : str):