From efd48b37db0e25a91a046ede54d3a6c0917759c3 Mon Sep 17 00:00:00 2001 From: Dana Singh <115384427+singhd789@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:17:55 -0500 Subject: [PATCH 1/2] Fix print statement to reflect full path to combined yaml --- fre/yamltools/combine_yamls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fre/yamltools/combine_yamls.py b/fre/yamltools/combine_yamls.py index 6deb9ae2..67b8faad 100755 --- a/fre/yamltools/combine_yamls.py +++ b/fre/yamltools/combine_yamls.py @@ -299,7 +299,7 @@ def clean_yaml(self): with open(self.combined,'w') as f: yaml.safe_dump(full_yaml,f,default_flow_style=False,sort_keys=False) - print(f"Combined yaml located here: {os.path.dirname(self.combined)}/{self.combined}") + print(f"Combined yaml located here: {os.path.abspath(self.combined)}") return self.combined ## Functions to combine the yaml files ## From c2cec0f861bc82d5c8f4c740ee9f320a8ef7e581 Mon Sep 17 00:00:00 2001 From: Dana Singh <115384427+singhd789@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:26:10 -0500 Subject: [PATCH 2/2] Fix combined yaml output path for compilation too --- fre/yamltools/combine_yamls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fre/yamltools/combine_yamls.py b/fre/yamltools/combine_yamls.py index 67b8faad..caf7cad0 100755 --- a/fre/yamltools/combine_yamls.py +++ b/fre/yamltools/combine_yamls.py @@ -203,7 +203,7 @@ def clean_yaml(self): with open(self.combined,'w',encoding='UTF-8') as f: yaml.safe_dump(full_yaml,f,default_flow_style=False,sort_keys=False) - print(f"Combined yaml located here: {os.path.dirname(self.combined)}/{self.combined}") + print(f"Combined yaml located here: {os.path.abspath(self.combined)}") return self.combined ## PP CLASS ##