mirror of
https://gitea.psi.ch/APOG/acsmnode.git
synced 2025-06-27 03:51:13 +02:00
Add function to estimate project directory path
This commit is contained in:
@ -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):
|
||||
|
||||
|
Reference in New Issue
Block a user